ocado-grocy/tests/fixtures/history_receipt.json
2026-09-19 11:32:53 +01:00

870 lines
25 KiB
JSON

{
"_comment": "Synthetic API fixture. All identifiers, product details, dates and prices are invented.",
"result": "1000000000001",
"entities": {
"order": {
"1000000000001": {
"orderId": "1000000000001",
"status": "DELIVERED",
"dates": {
"deliveryStartDate": "2020-01-02T12:00:00Z",
"timeZoneId": "Europe/London"
},
"orderTotals": {
"itemPriceAfterPromos": {
"amount": "28.75",
"currency": "GBP"
}
},
"totalItems": 23,
"groupedProducts": {
"products": [
{
"productId": "example-product-1",
"retailerProductId": "90000001",
"name": "Example Bananas",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "CUPBOARD",
"expirationDate": "2020-01-05",
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-1.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-2",
"retailerProductId": "90000002",
"name": "Example Lettuce",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "FRIDGE",
"expirationDate": "2020-01-05",
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-2.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-3",
"retailerProductId": "90000003",
"name": "Example Feta",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "FRIDGE",
"expirationDate": "2030-01-01",
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-3.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-4",
"retailerProductId": "90000004",
"name": "Example Milk",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "FRIDGE",
"expirationDate": "2020-01-05",
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-4.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-5",
"retailerProductId": "90000005",
"name": "Example Yogurt",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "FRIDGE",
"expirationDate": "2020-01-05",
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-5.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-6",
"retailerProductId": "90000006",
"name": "Example Frozen Peas",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "FREEZER",
"expirationDate": "2020-01-05",
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-6.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-7",
"retailerProductId": "90000007",
"name": "Example Bread",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "FRIDGE",
"expirationDate": "2020-01-05",
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-7.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-8",
"retailerProductId": "90000008",
"name": "Example Apples",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "FRIDGE",
"expirationDate": "2020-01-05",
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-8.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-9",
"retailerProductId": "90000009",
"name": "Example Carrots",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "FRIDGE",
"expirationDate": "2020-01-05",
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-9.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-10",
"retailerProductId": "90000010",
"name": "Example Spinach",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "FRIDGE",
"expirationDate": "2020-01-05",
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-10.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-11",
"retailerProductId": "90000011",
"name": "Example Frozen Berries",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "FREEZER",
"expirationDate": "2020-01-05",
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-11.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-12",
"retailerProductId": "90000012",
"name": "Example Fresh Pasta",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "FRIDGE",
"expirationDate": "2020-01-05",
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-12.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-13",
"retailerProductId": "90000013",
"name": "Example Rice",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "CUPBOARD",
"expirationDate": null,
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-13.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-14",
"retailerProductId": "90000014",
"name": "Example Dried Pasta",
"quantity": 2,
"prices": {
"retail": {
"amount": "3.00",
"currency": "GBP"
},
"offered": {
"amount": "2.50",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "CUPBOARD",
"expirationDate": null,
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-14.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-15",
"retailerProductId": "90000015",
"name": "Example Tea",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "CUPBOARD",
"expirationDate": null,
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-15.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-16",
"retailerProductId": "90000016",
"name": "Example Coffee",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "CUPBOARD",
"expirationDate": null,
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-16.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-17",
"retailerProductId": "90000017",
"name": "Example Biscuits",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "CUPBOARD",
"expirationDate": null,
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-17.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-18",
"retailerProductId": "90000018",
"name": "Example Tinned Tomatoes",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "CUPBOARD",
"expirationDate": null,
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-18.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-19",
"retailerProductId": "90000019",
"name": "Example Soap",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "CUPBOARD",
"expirationDate": null,
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-19.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-20",
"retailerProductId": "90000020",
"name": "Example Cleaning Cloths",
"quantity": 2,
"prices": {
"retail": {
"amount": "3.00",
"currency": "GBP"
},
"offered": {
"amount": "2.50",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "CUPBOARD",
"expirationDate": null,
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-20.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
},
{
"productId": "example-product-21",
"retailerProductId": "90000021",
"name": "Example Pet Food",
"quantity": 1,
"prices": {
"retail": {
"amount": "1.50",
"currency": "GBP"
},
"offered": {
"amount": "1.25",
"currency": "GBP"
},
"pricePerItem": {
"amount": "1.25",
"currency": "GBP"
}
},
"storageType": "CUPBOARD",
"expirationDate": null,
"isInCurrentCatalog": true,
"image": {
"src": "https://www.ocado.com/images-v3/example-21.jpg"
},
"packInfo": {
"packSizeDescription": "250g"
},
"promotions": []
}
],
"substitutes": []
}
}
},
"product": {
"example-product-1": {
"retailerProductId": "90000001",
"brand": "Example Brand",
"categoryPath": [
"Fresh & Chilled Food"
],
"size": {
"value": "250g"
}
},
"example-product-2": {
"retailerProductId": "90000002",
"brand": "Example Brand",
"categoryPath": [
"Fresh & Chilled Food"
],
"size": {
"value": "250g"
}
},
"example-product-3": {
"retailerProductId": "90000003",
"brand": "Example Brand",
"categoryPath": [
"Fresh & Chilled Food"
],
"size": {
"value": "250g"
}
},
"example-product-4": {
"retailerProductId": "90000004",
"brand": "Example Brand",
"categoryPath": [
"Fresh & Chilled Food"
],
"size": {
"value": "250g"
}
},
"example-product-5": {
"retailerProductId": "90000005",
"brand": "Example Brand",
"categoryPath": [
"Fresh & Chilled Food"
],
"size": {
"value": "250g"
}
},
"example-product-6": {
"retailerProductId": "90000006",
"brand": "Example Brand",
"categoryPath": [
"Fresh & Chilled Food"
],
"size": {
"value": "250g"
}
},
"example-product-7": {
"retailerProductId": "90000007",
"brand": "Example Brand",
"categoryPath": [
"Fresh & Chilled Food"
],
"size": {
"value": "250g"
}
},
"example-product-8": {
"retailerProductId": "90000008",
"brand": "Example Brand",
"categoryPath": [
"Fresh & Chilled Food"
],
"size": {
"value": "250g"
}
},
"example-product-9": {
"retailerProductId": "90000009",
"brand": "Example Brand",
"categoryPath": [
"Fresh & Chilled Food"
],
"size": {
"value": "250g"
}
},
"example-product-10": {
"retailerProductId": "90000010",
"brand": "Example Brand",
"categoryPath": [
"Fresh & Chilled Food"
],
"size": {
"value": "250g"
}
},
"example-product-11": {
"retailerProductId": "90000011",
"brand": "Example Brand",
"categoryPath": [
"Fresh & Chilled Food"
],
"size": {
"value": "250g"
}
},
"example-product-12": {
"retailerProductId": "90000012",
"brand": "Example Brand",
"categoryPath": [
"Fresh & Chilled Food"
],
"size": {
"value": "250g"
}
},
"example-product-13": {
"retailerProductId": "90000013",
"brand": "Example Brand",
"categoryPath": [
"Food Cupboard"
],
"size": {
"value": "250g"
}
},
"example-product-14": {
"retailerProductId": "90000014",
"brand": "Example Brand",
"categoryPath": [
"Food Cupboard"
],
"size": {
"value": "250g"
}
},
"example-product-15": {
"retailerProductId": "90000015",
"brand": "Example Brand",
"categoryPath": [
"Food Cupboard"
],
"size": {
"value": "250g"
}
},
"example-product-16": {
"retailerProductId": "90000016",
"brand": "Example Brand",
"categoryPath": [
"Food Cupboard"
],
"size": {
"value": "250g"
}
},
"example-product-17": {
"retailerProductId": "90000017",
"brand": "Example Brand",
"categoryPath": [
"Food Cupboard"
],
"size": {
"value": "250g"
}
},
"example-product-18": {
"retailerProductId": "90000018",
"brand": "Example Brand",
"categoryPath": [
"Food Cupboard"
],
"size": {
"value": "250g"
}
},
"example-product-19": {
"retailerProductId": "90000019",
"brand": "Example Brand",
"categoryPath": [
"Household & Cleaning"
],
"size": {
"value": "250g"
}
},
"example-product-20": {
"retailerProductId": "90000020",
"brand": "Example Brand",
"categoryPath": [
"Household & Cleaning"
],
"size": {
"value": "250g"
}
},
"example-product-21": {
"retailerProductId": "90000021",
"brand": "Example Brand",
"categoryPath": [
"Pets"
],
"size": {
"value": "250g"
}
}
}
}
}