diff --git a/README.md b/README.md index 8d1ae744..cacbafdb 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,3 @@ items = api.fetch_items_specs.pip(item_codes_dict) ``` There are many ways because information about some items is not available in some endpoints. - -# Response Examples - -You can review response examples for all endpoint before using it [here](https://github.com/vrslev/ikea-api-client/tree/master/response_examples) diff --git a/response_examples/cart/add_items.json b/response_examples/cart/add_items.json deleted file mode 100644 index ca2d1c52..00000000 --- a/response_examples/cart/add_items.json +++ /dev/null @@ -1,457 +0,0 @@ -{ - "data": { - "addItems": { - "currency": "RUB", - "checksum": "WIiMPYm7hmJiArmNK59wr1y2VE+YqGnb", - "context": { - "userId": "userId", - "isAnonymous": true, - "retailId": "ru" - }, - "coupon": null, - "items": [ - { - "itemNo": "90428328", - "quantity": 1, - "type": "ART", - "fees": null, - "isFamilyItem": false, - "childItems": [], - "regularPrice": { - "unit": { - "inclTax": 599, - "exclTax": 0, - "tax": null, - "validFrom": null, - "validTo": null, - "isLowerPrice": false, - "isTimeRestrictedOffer": false, - "previousPrice": null - }, - "subTotalExclDiscount": { - "inclTax": 599, - "exclTax": 0, - "tax": null - }, - "subTotalInclDiscount": { - "inclTax": 599, - "exclTax": 0, - "tax": null - }, - "subTotalDiscount": { - "amount": 0 - }, - "discounts": null - }, - "familyPrice": { - "unit": { - "inclTax": 599, - "exclTax": 0, - "tax": null, - "validFrom": null, - "validTo": null - }, - "subTotalExclDiscount": { - "inclTax": 599, - "exclTax": 0, - "tax": null - }, - "subTotalInclDiscount": { - "inclTax": 599, - "exclTax": 0, - "tax": null - }, - "subTotalDiscount": { - "amount": 0 - }, - "discounts": null - }, - "product": { - "name": "HYLLIS ХИЛЛИС", - "globalName": "HYLLIS", - "isNew": false, - "category": "стеллаж", - "description": "д/дома/улицы", - "isBreathTaking": true, - "formattedItemNo": "904.283.28", - "displayUnit": null, - "unitCode": "PIECE", - "measurements": [ - { - "metric": "60x27x74 см", - "imperial": "23 5/8x10 5/8x29 1/8 дюйм" - } - ], - "technicalDetails": null, - "images": [ - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s1.jpg", - "quality": "S1", - "width": 30 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s2.jpg", - "quality": "S2", - "width": 83 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s3.jpg", - "quality": "S3", - "width": 188 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s4.jpg", - "quality": "S4", - "width": 375 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s5.jpg", - "quality": "S5", - "width": 1500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s5.jpg", - "quality": "S5", - "width": 2000 - } - ] - } - } - ], - "regularTotalPrice": { - "totalExclDiscount": { - "inclTax": 599, - "exclTax": 0, - "tax": null - }, - "totalInclDiscount": { - "inclTax": 599, - "exclTax": 0, - "tax": null - }, - "totalDiscount": { - "amount": 0 - }, - "totalSavingsDetails": { - "familyDiscounts": 0 - } - }, - "familyTotalPrice": { - "totalExclDiscount": { - "inclTax": 599, - "exclTax": 0, - "tax": null - }, - "totalInclDiscount": { - "inclTax": 599, - "exclTax": 0, - "tax": null - }, - "totalDiscount": { - "amount": 0 - }, - "totalSavingsDetails": { - "familyDiscounts": 0 - }, - "totalSavingsInclDiscount": { - "amount": 0 - } - } - } - } -} diff --git a/response_examples/cart/clear.json b/response_examples/cart/clear.json deleted file mode 100644 index 29425299..00000000 --- a/response_examples/cart/clear.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "clearItems": { - "currency": null, - "checksum": "nO/c85lNH36U4OoU5HrCed4bOkZ+nOia", - "context": { - "userId": "userId", - "isAnonymous": true, - "retailId": "ru" - }, - "coupon": null, - "items": [], - "regularTotalPrice": null, - "familyTotalPrice": null - } - } -} diff --git a/response_examples/cart/clear_coupon.json b/response_examples/cart/clear_coupon.json deleted file mode 100644 index 7d5011bf..00000000 --- a/response_examples/cart/clear_coupon.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "clearCoupon": { - "currency": null, - "checksum": "b4ZgUoYFJzuhgEwkSpiqnF03qXYo+Z48", - "context": { - "userId": "userId", - "isAnonymous": true, - "retailId": "ru" - }, - "coupon": null, - "items": [], - "regularTotalPrice": null, - "familyTotalPrice": null - } - } -} diff --git a/response_examples/cart/remove_items.json b/response_examples/cart/remove_items.json deleted file mode 100644 index 6207140d..00000000 --- a/response_examples/cart/remove_items.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "data": { - "removeItems": { - "currency": null, - "checksum": "SCXkArZYyNUwmcL1GW62+Hhr6I7OWguW", - "context": { - "userId": "userId", - "isAnonymous": true, - "retailId": "ru" - }, - "coupon": null, - "items": [], - "regularTotalPrice": null, - "familyTotalPrice": null - } - } -} diff --git a/response_examples/cart/show.json b/response_examples/cart/show.json deleted file mode 100644 index 57ef6458..00000000 --- a/response_examples/cart/show.json +++ /dev/null @@ -1,659 +0,0 @@ -{ - "data": { - "cart": { - "currency": "RUB", - "checksum": "zxqxjAQ+CzXFaJmS5qB5YtnG0KN8zksK", - "context": { - "userId": "userId", - "isAnonymous": true, - "retailId": "ru" - }, - "coupon": null, - "items": [ - { - "itemNo": "50497432", - "quantity": 1, - "type": "ART", - "fees": null, - "isFamilyItem": false, - "childItems": [], - "regularPrice": { - "unit": { - "inclTax": 4499, - "exclTax": 0, - "tax": null, - "validFrom": null, - "validTo": null, - "isLowerPrice": false, - "isTimeRestrictedOffer": false, - "previousPrice": null - }, - "subTotalExclDiscount": { - "inclTax": 4499, - "exclTax": 0, - "tax": null - }, - "subTotalInclDiscount": { - "inclTax": 4499, - "exclTax": 0, - "tax": null - }, - "subTotalDiscount": { - "amount": 0 - }, - "discounts": null - }, - "familyPrice": { - "unit": { - "inclTax": 4499, - "exclTax": 0, - "tax": null, - "validFrom": null, - "validTo": null - }, - "subTotalExclDiscount": { - "inclTax": 4499, - "exclTax": 0, - "tax": null - }, - "subTotalInclDiscount": { - "inclTax": 4499, - "exclTax": 0, - "tax": null - }, - "subTotalDiscount": { - "amount": 0 - }, - "discounts": null - }, - "product": { - "name": "SKÅNEVIK СКОНЕВИК", - "globalName": "SKÅNEVIK", - "isNew": false, - "category": "комод с 3 ящиками", - "description": "глянцевый серо-зеленый", - "isBreathTaking": false, - "formattedItemNo": "504.974.32", - "displayUnit": null, - "unitCode": "PIECE", - "measurements": [ - { - "metric": "70x72 см", - "imperial": "27 1/2x28 3/8 дюйм" - } - ], - "technicalDetails": null, - "images": [ - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968487_pe810456_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968487_pe810456_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968487_pe810456_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968487_pe810456_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968487_pe810456_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968488_pe810457_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968488_pe810457_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968488_pe810457_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968488_pe810457_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968488_pe810457_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968489_pe810458_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968489_pe810458_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968489_pe810458_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968489_pe810458_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968489_pe810458_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968490_pe810459_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968490_pe810459_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968490_pe810459_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968490_pe810459_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968490_pe810459_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968491_pe810465_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968491_pe810465_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968491_pe810465_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968491_pe810465_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/skanevik-skonevik-komod-s-3-yashchikami-glyancevyy-sero-zelenyy__0968491_pe810465_s5.jpg", - "quality": "S5", - "width": 2000 - } - ] - } - }, - { - "itemNo": "90428328", - "quantity": 4, - "type": "ART", - "fees": null, - "isFamilyItem": false, - "childItems": [], - "regularPrice": { - "unit": { - "inclTax": 599, - "exclTax": 0, - "tax": null, - "validFrom": null, - "validTo": null, - "isLowerPrice": false, - "isTimeRestrictedOffer": false, - "previousPrice": null - }, - "subTotalExclDiscount": { - "inclTax": 2396, - "exclTax": 0, - "tax": null - }, - "subTotalInclDiscount": { - "inclTax": 2396, - "exclTax": 0, - "tax": null - }, - "subTotalDiscount": { - "amount": 0 - }, - "discounts": null - }, - "familyPrice": { - "unit": { - "inclTax": 599, - "exclTax": 0, - "tax": null, - "validFrom": null, - "validTo": null - }, - "subTotalExclDiscount": { - "inclTax": 2396, - "exclTax": 0, - "tax": null - }, - "subTotalInclDiscount": { - "inclTax": 2396, - "exclTax": 0, - "tax": null - }, - "subTotalDiscount": { - "amount": 0 - }, - "discounts": null - }, - "product": { - "name": "HYLLIS ХИЛЛИС", - "globalName": "HYLLIS", - "isNew": false, - "category": "стеллаж", - "description": "д/дома/улицы", - "isBreathTaking": true, - "formattedItemNo": "904.283.28", - "displayUnit": null, - "unitCode": "PIECE", - "measurements": [ - { - "metric": "60x27x74 см", - "imperial": "23 5/8x10 5/8x29 1/8 дюйм" - } - ], - "technicalDetails": null, - "images": [ - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s1.jpg", - "quality": "S1", - "width": 30 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s2.jpg", - "quality": "S2", - "width": 83 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s3.jpg", - "quality": "S3", - "width": 188 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s4.jpg", - "quality": "S4", - "width": 375 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s5.jpg", - "quality": "S5", - "width": 1500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s5.jpg", - "quality": "S5", - "width": 2000 - } - ] - } - } - ], - "regularTotalPrice": { - "totalExclDiscount": { - "inclTax": 6895, - "exclTax": 0, - "tax": null - }, - "totalInclDiscount": { - "inclTax": 6895, - "exclTax": 0, - "tax": null - }, - "totalDiscount": { - "amount": 0 - }, - "totalSavingsDetails": { - "familyDiscounts": 0 - } - }, - "familyTotalPrice": { - "totalExclDiscount": { - "inclTax": 6895, - "exclTax": 0, - "tax": null - }, - "totalInclDiscount": { - "inclTax": 6895, - "exclTax": 0, - "tax": null - }, - "totalDiscount": { - "amount": 0 - }, - "totalSavingsDetails": { - "familyDiscounts": 0 - }, - "totalSavingsInclDiscount": { - "amount": 0 - } - } - } - } -} diff --git a/response_examples/cart/update_items.json b/response_examples/cart/update_items.json deleted file mode 100644 index a3653e90..00000000 --- a/response_examples/cart/update_items.json +++ /dev/null @@ -1,457 +0,0 @@ -{ - "data": { - "updateItems": { - "currency": "RUB", - "checksum": "WfxumtuAjcUc3qLJHu+gG8QYyESCkDrb", - "context": { - "userId": "userId", - "isAnonymous": true, - "retailId": "ru" - }, - "coupon": null, - "items": [ - { - "itemNo": "90428328", - "quantity": 5, - "type": "ART", - "fees": null, - "isFamilyItem": false, - "childItems": [], - "regularPrice": { - "unit": { - "inclTax": 599, - "exclTax": 0, - "tax": null, - "validFrom": null, - "validTo": null, - "isLowerPrice": false, - "isTimeRestrictedOffer": false, - "previousPrice": null - }, - "subTotalExclDiscount": { - "inclTax": 2995, - "exclTax": 0, - "tax": null - }, - "subTotalInclDiscount": { - "inclTax": 2995, - "exclTax": 0, - "tax": null - }, - "subTotalDiscount": { - "amount": 0 - }, - "discounts": null - }, - "familyPrice": { - "unit": { - "inclTax": 599, - "exclTax": 0, - "tax": null, - "validFrom": null, - "validTo": null - }, - "subTotalExclDiscount": { - "inclTax": 2995, - "exclTax": 0, - "tax": null - }, - "subTotalInclDiscount": { - "inclTax": 2995, - "exclTax": 0, - "tax": null - }, - "subTotalDiscount": { - "amount": 0 - }, - "discounts": null - }, - "product": { - "name": "HYLLIS ХИЛЛИС", - "globalName": "HYLLIS", - "isNew": false, - "category": "стеллаж", - "description": "д/дома/улицы", - "isBreathTaking": true, - "formattedItemNo": "904.283.28", - "displayUnit": null, - "unitCode": "PIECE", - "measurements": [ - { - "metric": "60x27x74 см", - "imperial": "23 5/8x10 5/8x29 1/8 дюйм" - } - ], - "technicalDetails": null, - "images": [ - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0639121_pe704408_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0715527_ph156576_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s1.jpg", - "quality": "S1", - "width": 30 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s2.jpg", - "quality": "S2", - "width": 83 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s3.jpg", - "quality": "S3", - "width": 188 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s4.jpg", - "quality": "S4", - "width": 375 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0935751_ph169678_s5.jpg", - "quality": "S5", - "width": 1500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911680_pe711416_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911683_pe711417_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911686_pe711418_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911689_pe711419_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745880_ph158835_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745878_ph159265_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0718459_ph157124_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0745882_ph156710_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0911659_pe618100_s5.jpg", - "quality": "S5", - "width": 2000 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s1.jpg", - "quality": "S1", - "width": 40 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s2.jpg", - "quality": "S2", - "width": 110 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s3.jpg", - "quality": "S3", - "width": 250 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s4.jpg", - "quality": "S4", - "width": 500 - }, - { - "url": "https://www.ikea.com/ru/ru/images/products/hyllis-hillis-stellazh-d-doma-ulicy__0943719_pe797007_s5.jpg", - "quality": "S5", - "width": 2000 - } - ] - } - } - ], - "regularTotalPrice": { - "totalExclDiscount": { - "inclTax": 2995, - "exclTax": 0, - "tax": null - }, - "totalInclDiscount": { - "inclTax": 2995, - "exclTax": 0, - "tax": null - }, - "totalDiscount": { - "amount": 0 - }, - "totalSavingsDetails": { - "familyDiscounts": 0 - } - }, - "familyTotalPrice": { - "totalExclDiscount": { - "inclTax": 2995, - "exclTax": 0, - "tax": null - }, - "totalInclDiscount": { - "inclTax": 2995, - "exclTax": 0, - "tax": null - }, - "totalDiscount": { - "amount": 0 - }, - "totalSavingsDetails": { - "familyDiscounts": 0 - }, - "totalSavingsInclDiscount": { - "amount": 0 - } - } - } - } -} diff --git a/response_examples/order_capture/get_delivery_services.json b/response_examples/order_capture/get_delivery_services.json deleted file mode 100644 index 2eb6b689..00000000 --- a/response_examples/order_capture/get_delivery_services.json +++ /dev/null @@ -1,1413 +0,0 @@ -[ - { - "id": "4a36e175-797e-4a60-bc6d-5ca6cb540b67", - "solutionId": "HD~4~CURBSIDE", - "deliveryArrangementId": "20210616161048444872152", - "fulfillmentMethodType": "HOME_DELIVERY", - "servicePrice": { - "amount": "999", - "taxDetails": [ - { - "taxableAmount": "832.5", - "taxPercentage": "20", - "taxCode": "0", - "taxAmount": "166.5", - "taxType": "VAT" - } - ], - "currencyCode": "RUB", - "inclTax": 999, - "exclTax": 832.5 - }, - "price": null, - "servicetype": "CURBSIDE", - "expiryTime": "2021-06-16T16:40:52.499Z", - "unavailableItems": [ - { - "id": "1", - "itemNo": "50497432", - "lineId": 1, - "type": "ART", - "requiredQuantity": 1, - "availableQuantity": 0, - "unavailabilityReason": "OP_NOT_ENOUGH_PROD_CHOICES", - "quantityType": null - } - ], - "unavailableLines": [ - { - "unavailableQty": "1.0", - "itemLineId": "1", - "unavailableReasonCode": "OP_NOT_ENOUGH_PROD_CHOICES" - } - ], - "deliveries": [ - { - "id": "dd812d9f-3a3d-460f-81b8-13e98f40af06", - "type": "TRUCK", - "deliveryItems": [ - { - "id": "fe6e541a-9309-49b5-a67b-08534aba009e", - "itemNo": "90428328", - "itemType": "ART", - "itemId": "2", - "parentId": null, - "quantity": "4", - "shipNode": "STO.335", - "exceptionalQty": false - } - ], - "deliveryPrice": { - "amount": "999", - "taxDetails": [ - { - "taxableAmount": "832.5", - "taxPercentage": "20", - "taxCode": "0", - "taxAmount": "166.5", - "taxType": "VAT" - } - ], - "currencyCode": "RUB", - "inclTax": 999, - "exclTax": 832.5 - }, - "price": null, - "serviceItemId": "SGR90000897", - "unitOfMeasure": "ORDERS", - "shipNode": null, - "fulfillmentDeliveryId": "HD~~~6", - "timeWindows": [ - { - "id": "4f9b3695-af2d-497e-bafb-1019013be9b8", - "fromDateTime": "2021-06-18T14:00:00.000", - "toDateTime": "2021-06-18T18:00:00.000", - "resourcePoolId": "W9bTJHpHZkm7cRAZASQfAg==", - "node": "STO.335", - "selected": true, - "timeZone": "Europe/Moscow", - "pageNum": null, - "startTime": "2021-06-18T14:00:00", - "endTime": null, - "slotAttributeGroup": "HD~1~CURBSIDE~~~HD~~~8~335", - "tspID": "50151", - "tspName": null - } - ], - "timeWindowsStartDate": null, - "selectedTimeWindow": { - "id": "4f9b3695-af2d-497e-bafb-1019013be9b8", - "fromDateTime": "2021-06-18T14:00:00.000", - "toDateTime": "2021-06-18T18:00:00.000", - "resourcePoolId": "W9bTJHpHZkm7cRAZASQfAg==", - "node": "STO.335", - "selected": true, - "timeZone": "Europe/Moscow", - "pageNum": null, - "startTime": "2021-06-18T14:00:00", - "endTime": null, - "slotAttributeGroup": "HD~1~CURBSIDE~~~HD~~~8~335", - "tspID": "50151", - "tspName": null - }, - "pickUpPoints": null, - "selectedPickupPoint": null, - "maxTWPageNum": null, - "rangeOfDays": false, - "exceptionalVolume": false, - "multifetchTimeWindows": false, - "exceptionalQty": false - } - ], - "selected": false, - "errorMessage": { - "errorDescription": "Partially available delivery service", - "errorCode": "10127" - }, - "estimatedDeliveryDaysMin": null, - "estimatedDeliveryDaysMax": null, - "deliveryServiceCheckSum": null, - "displayWheelchair": false, - "itemsAvailabilityStatus": "PARTIAL" - }, - { - "id": "9fa299fe-f948-4564-8eed-0e8b5ec93d1f", - "solutionId": "PUP~4~STANDARD", - "deliveryArrangementId": "20210616161048444872152", - "fulfillmentMethodType": "PUP", - "servicePrice": { - "amount": "399", - "taxDetails": [ - { - "taxableAmount": "332.5", - "taxPercentage": "20", - "taxCode": "0", - "taxAmount": "66.5", - "taxType": "VAT" - } - ], - "currencyCode": "RUB", - "inclTax": 399, - "exclTax": 332.5 - }, - "price": null, - "servicetype": "STANDARD", - "expiryTime": "2021-06-16T16:40:52.502Z", - "unavailableItems": [ - { - "id": "1", - "itemNo": "50497432", - "lineId": 1, - "type": "ART", - "requiredQuantity": 1, - "availableQuantity": 0, - "unavailabilityReason": "OP_NOT_ENOUGH_PROD_CHOICES", - "quantityType": null - } - ], - "unavailableLines": [ - { - "unavailableQty": "1.0", - "itemLineId": "1", - "unavailableReasonCode": "OP_NOT_ENOUGH_PROD_CHOICES" - } - ], - "deliveries": [ - { - "id": "b2e76403-8bd1-404a-ab83-d0fb09962817", - "type": "TRUCK", - "deliveryItems": [ - { - "id": "fe6e541a-9309-49b5-a67b-08534aba009e", - "itemNo": "90428328", - "itemType": "ART", - "itemId": "2", - "parentId": null, - "quantity": "4", - "shipNode": "CDC.032", - "exceptionalQty": false - } - ], - "deliveryPrice": { - "amount": "399", - "taxDetails": [ - { - "taxableAmount": "332.5", - "taxPercentage": "20", - "taxCode": "0", - "taxAmount": "66.5", - "taxType": "VAT" - } - ], - "currencyCode": "RUB", - "inclTax": 399, - "exclTax": 332.5 - }, - "price": null, - "serviceItemId": "SGR60000851", - "unitOfMeasure": "ORDERS", - "shipNode": null, - "fulfillmentDeliveryId": "PUP~~~2", - "timeWindows": [ - { - "id": "c3a11fb8-634a-4af1-865b-103d0001a690", - "fromDateTime": "2021-06-21T09:00:00.000", - "toDateTime": "2021-06-21T18:00:00.000", - "resourcePoolId": "G1SeyPffdUiW3hA8AV7uJQ==", - "node": "LSC.2130", - "selected": true, - "timeZone": "Europe/Moscow", - "pageNum": null, - "startTime": "2021-06-21T09:00:00", - "endTime": null, - "slotAttributeGroup": "PUP~4~STANDARD~~~PUP~~~2~2130", - "tspID": "50021", - "tspName": null - } - ], - "timeWindowsStartDate": null, - "selectedTimeWindow": { - "id": "c3a11fb8-634a-4af1-865b-103d0001a690", - "fromDateTime": "2021-06-21T09:00:00.000", - "toDateTime": "2021-06-21T18:00:00.000", - "resourcePoolId": "G1SeyPffdUiW3hA8AV7uJQ==", - "node": "LSC.2130", - "selected": true, - "timeZone": "Europe/Moscow", - "pageNum": null, - "startTime": "2021-06-21T09:00:00", - "endTime": null, - "slotAttributeGroup": "PUP~4~STANDARD~~~PUP~~~2~2130", - "tspID": "50021", - "tspName": null - }, - "pickUpPoints": [ - { - "country": "RU", - "identifier": "283@BUSINESSLINES_RU", - "zipCode": "109316", - "openingHoursThuTime": "09:00-20:00", - "distance": 7.44, - "city": "Москва", - "openingHoursSatTime": "", - "openingHoursWedTime": "09:00-20:00", - "openingHoursFriTime": "09:00-20:00", - "openingHoursTueTime": "09:00-20:00", - "name": "Терминал Деловые Линии - Москва Восток", - "addressLine1": "Волгоградский пр-кт, 42 корпус 23", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "09:00-20:00", - "addressLine3": "", - "id": "283", - "selected": true, - "state": "", - "addressLine4": "корпус 23", - "lsc": "LSC.2130", - "latitude": "55.7099990844727", - "longitude": "37.7089004516602" - }, - { - "country": "RU", - "identifier": "18@BUSINESSLINES_RU", - "zipCode": "121471", - "openingHoursThuTime": "09:00-20:00", - "distance": 14.31, - "city": "Москва", - "openingHoursSatTime": "11:00-16:00", - "openingHoursWedTime": "09:00-20:00", - "openingHoursFriTime": "09:00-20:00", - "openingHoursTueTime": "09:00-20:00", - "name": "Терминал Деловые Линии - Москва Запад", - "addressLine1": "Рябиновая ул, 37 стр 1", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "09:00-20:00", - "addressLine3": "", - "id": "18", - "selected": false, - "state": "", - "addressLine4": "стр 1", - "lsc": "LSC.2175", - "latitude": "55.7041015625", - "longitude": "37.4241981506348" - }, - { - "country": "RU", - "identifier": "342@BUSINESSLINES_RU", - "zipCode": "143912", - "openingHoursThuTime": "09:00-20:00", - "distance": 14.88, - "city": "Балашиха", - "openingHoursSatTime": "11:00-16:00", - "openingHoursWedTime": "09:00-20:00", - "openingHoursFriTime": "09:00-20:00", - "openingHoursTueTime": "09:00-20:00", - "name": "Терминал Деловые Линии - Балашиха", - "addressLine1": "Западная коммунальная зона, Энтузиастов ш владение 1А", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "09:00-20:00", - "addressLine3": "", - "id": "342", - "selected": false, - "state": "", - "addressLine4": "владение 1А", - "lsc": "LSC.2175", - "latitude": "55.7849998474121", - "longitude": "37.8636016845703" - }, - { - "country": "RU", - "identifier": "36@BUSINESSLINES_RU", - "zipCode": "127411", - "openingHoursThuTime": "00:00-23:59", - "distance": 16.71, - "city": "Москва", - "openingHoursSatTime": "00:00-16:00", - "openingHoursWedTime": "00:00-23:59", - "openingHoursFriTime": "00:00-23:59", - "openingHoursTueTime": "00:00-23:59", - "name": "Терминал Деловые Линии - Москва Север", - "addressLine1": "Лобненская ул 18", - "openingHoursSunTime": "11:00-16:00", - "addressLine2": "", - "openingHoursMonTime": "08:00-00:00", - "addressLine3": "", - "id": "36", - "selected": false, - "state": "", - "addressLine4": "18", - "lsc": "LSC.2175", - "latitude": "55.8967018127441", - "longitude": "37.5191993713379" - }, - { - "country": "RU", - "identifier": "297@BUSINESSLINES_RU", - "zipCode": "117545", - "openingHoursThuTime": "00:00-23:59", - "distance": 17.82, - "city": "Москва", - "openingHoursSatTime": "00:00-23:59", - "openingHoursWedTime": "00:00-23:59", - "openingHoursFriTime": "00:00-23:59", - "openingHoursTueTime": "00:00-23:59", - "name": "Терминал Деловые Линии - Москва Юг 2", - "addressLine1": "Подольских Курсантов ул., 17 к. 2", - "openingHoursSunTime": "00:00-23:59", - "addressLine2": "", - "openingHoursMonTime": "00:00-23:59", - "addressLine3": "", - "id": "297", - "selected": false, - "state": "", - "addressLine4": "к. 2", - "lsc": "LSC.2175", - "latitude": "55.5999984741211", - "longitude": "37.6446990966797" - }, - { - "country": "RU", - "identifier": "82@BUSINESSLINES_RU", - "zipCode": "140053", - "openingHoursThuTime": "08:00-20:00", - "distance": 18.01, - "city": "Москва", - "openingHoursSatTime": "", - "openingHoursWedTime": "08:00-20:00", - "openingHoursFriTime": "08:00-20:00", - "openingHoursTueTime": "08:00-20:00", - "name": "Терминал Деловые Линии - Москва Капотня", - "addressLine1": "Московская обл, Люберецкий р-н, г. Котельники, Дзержинское ш 14", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "08:00-20:00", - "addressLine3": "", - "id": "82", - "selected": false, - "state": "", - "addressLine4": "14", - "lsc": "LSC.2130", - "latitude": "55.6463012695313", - "longitude": "37.8345985412598" - }, - { - "country": "RU", - "identifier": "303@BUSINESSLINES_RU", - "zipCode": "141074", - "openingHoursThuTime": "09:00-18:00", - "distance": 18.88, - "city": "Мытищи", - "openingHoursSatTime": "", - "openingHoursWedTime": "09:00-18:00", - "openingHoursFriTime": "09:00-18:00", - "openingHoursTueTime": "09:00-18:00", - "name": "Терминал Деловые Линии - Мытищи", - "addressLine1": "г. Королев, ул. Пионерская, 2 (ориентир для навигаторов ул. Пионерская 4к125)", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "09:00-18:00", - "addressLine3": "", - "id": "303", - "selected": false, - "state": "", - "addressLine4": "4к125)", - "lsc": "LSC.2130", - "latitude": "55.9019012451172", - "longitude": "37.7957992553711" - }, - { - "country": "RU", - "identifier": "328@BUSINESSLINES_RU", - "zipCode": "143442", - "openingHoursThuTime": "09:00-18:00", - "distance": 22.33, - "city": "Красногорск", - "openingHoursSatTime": "", - "openingHoursWedTime": "09:00-18:00", - "openingHoursFriTime": "09:00-18:00", - "openingHoursTueTime": "09:00-18:00", - "name": "Терминал Деловые Линии - Красногорск", - "addressLine1": "Пятницкое ш 7км владение 2", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "09:00-18:00", - "addressLine3": "", - "id": "328", - "selected": false, - "state": "", - "addressLine4": "владение 2", - "lsc": "LSC.2130", - "latitude": "55.8736991882324", - "longitude": "37.3354988098145" - }, - { - "country": "RU", - "identifier": "369@BUSINESSLINES_RU", - "zipCode": "143009", - "openingHoursThuTime": "09:00-20:00", - "distance": 26.61, - "city": "Одинцово", - "openingHoursSatTime": "11:00-16:00", - "openingHoursWedTime": "09:00-20:00", - "openingHoursFriTime": "09:00-20:00", - "openingHoursTueTime": "09:00-20:00", - "name": "Терминал Деловые Линии - Одинцово", - "addressLine1": "ул. Западная 18", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "09:00-20:00", - "addressLine3": "", - "id": "369", - "selected": false, - "state": "", - "addressLine4": "18", - "lsc": "LSC.2175", - "latitude": "55.6721992492676", - "longitude": "37.2349014282227" - }, - { - "country": "RU", - "identifier": "263@BUSINESSLINES_RU", - "zipCode": "140060", - "openingHoursThuTime": "09:00-18:00", - "distance": 27.27, - "city": "Томилино", - "openingHoursSatTime": "11:00-16:00", - "openingHoursWedTime": "09:00-18:00", - "openingHoursFriTime": "09:00-18:00", - "openingHoursTueTime": "09:00-18:00", - "name": "Терминал Деловые Линии - Томилино", - "addressLine1": "Московская обл., Люберецкий р-н., рп Октябрьский, ул. Ленина 47", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "09:00-18:00", - "addressLine3": "", - "id": "263", - "selected": false, - "state": "", - "addressLine4": "47", - "lsc": "LSC.2175", - "latitude": "55.6119995117188", - "longitude": "37.9766998291016" - }, - { - "country": "RU", - "identifier": "278@BUSINESSLINES_RU", - "zipCode": "141206", - "openingHoursThuTime": "09:00-18:00", - "distance": 29.34, - "city": "Пушкино", - "openingHoursSatTime": "", - "openingHoursWedTime": "09:00-18:00", - "openingHoursFriTime": "09:00-18:00", - "openingHoursTueTime": "09:00-18:00", - "name": "Терминал Деловые Линии - Пушкино", - "addressLine1": "Кудринское ш 6", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "09:00-18:00", - "addressLine3": "", - "id": "278", - "selected": false, - "state": "", - "addressLine4": "6", - "lsc": "LSC.2175", - "latitude": "55.9925994873047", - "longitude": "37.8516998291016" - }, - { - "country": "RU", - "identifier": "250@BUSINESSLINES_RU", - "zipCode": "142101", - "openingHoursThuTime": "09:00-20:00", - "distance": 33.11, - "city": "Подольск", - "openingHoursSatTime": "11:00-16:00", - "openingHoursWedTime": "09:00-20:00", - "openingHoursFriTime": "09:00-20:00", - "openingHoursTueTime": "09:00-20:00", - "name": "Терминал Деловые Линии - Подольск", - "addressLine1": "Нефтебазовский проезд 8", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "09:00-20:00", - "addressLine3": "", - "id": "250", - "selected": false, - "state": "", - "addressLine4": "8", - "lsc": "LSC.2175", - "latitude": "55.4639015197754", - "longitude": "37.5761985778809" - }, - { - "country": "RU", - "identifier": "306@BUSINESSLINES_RU", - "zipCode": "124460", - "openingHoursThuTime": "09:00-18:00", - "distance": 38.7, - "city": "Зеленоград", - "openingHoursSatTime": "", - "openingHoursWedTime": "09:00-18:00", - "openingHoursFriTime": "09:00-18:00", - "openingHoursTueTime": "09:00-18:00", - "name": "Терминал Деловые Линии - Зеленоград", - "addressLine1": "2-ой Западный проезд, 1 стр. 2", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "09:00-18:00", - "addressLine3": "", - "id": "306", - "selected": false, - "state": "", - "addressLine4": "стр. 2", - "lsc": "LSC.2175", - "latitude": "56.0065994262695", - "longitude": "37.1924018859863" - }, - { - "country": "RU", - "identifier": "261@BUSINESSLINES_RU", - "zipCode": "142400", - "openingHoursThuTime": "09:00-18:00", - "distance": 50.7, - "city": "Ногинск", - "openingHoursSatTime": "11:00-16:00", - "openingHoursWedTime": "09:00-18:00", - "openingHoursFriTime": "09:00-18:00", - "openingHoursTueTime": "09:00-18:00", - "name": "Терминал Деловые Линии - Ногинск", - "addressLine1": "Электростальское ш 1а", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "09:00-18:00", - "addressLine3": "", - "id": "261", - "selected": false, - "state": "", - "addressLine4": "1а", - "lsc": "LSC.2175", - "latitude": "55.8348999023438", - "longitude": "38.4299011230469" - } - ], - "selectedPickupPoint": { - "country": "RU", - "identifier": "283@BUSINESSLINES_RU", - "zipCode": "109316", - "openingHoursThuTime": "09:00-20:00", - "distance": 7.44, - "city": "Москва", - "openingHoursSatTime": "", - "openingHoursWedTime": "09:00-20:00", - "openingHoursFriTime": "09:00-20:00", - "openingHoursTueTime": "09:00-20:00", - "name": "Терминал Деловые Линии - Москва Восток", - "addressLine1": "Волгоградский пр-кт, 42 корпус 23", - "openingHoursSunTime": "", - "addressLine2": "", - "openingHoursMonTime": "09:00-20:00", - "addressLine3": "", - "id": "283", - "selected": true, - "state": "", - "addressLine4": "корпус 23", - "lsc": "LSC.2130", - "latitude": "55.7099990844727", - "longitude": "37.7089004516602" - }, - "maxTWPageNum": null, - "rangeOfDays": false, - "exceptionalVolume": false, - "multifetchTimeWindows": false, - "exceptionalQty": false - } - ], - "selected": false, - "errorMessage": { - "errorDescription": "Partially available delivery service", - "errorCode": "10127" - }, - "estimatedDeliveryDaysMin": null, - "estimatedDeliveryDaysMax": null, - "deliveryServiceCheckSum": null, - "displayWheelchair": false, - "itemsAvailabilityStatus": "PARTIAL" - }, - { - "id": "1cc5c0de-0a9c-4306-b589-68967e51521b", - "solutionId": "PUOP~4~STANDARD", - "deliveryArrangementId": "20210616161048444872152", - "fulfillmentMethodType": "PUOP", - "servicePrice": { - "amount": "199", - "taxDetails": [ - { - "taxableAmount": "165.83", - "taxPercentage": "20", - "taxCode": "0", - "taxAmount": "33.17", - "taxType": "VAT" - } - ], - "currencyCode": "RUB", - "inclTax": 199, - "exclTax": 165.82999999999998 - }, - "price": null, - "servicetype": "STANDARD", - "expiryTime": "2021-06-16T16:40:52.508Z", - "unavailableItems": [ - { - "id": "1", - "itemNo": "50497432", - "lineId": 1, - "type": "ART", - "requiredQuantity": 1, - "availableQuantity": 0, - "unavailabilityReason": "OP_NOT_ENOUGH_PROD_CHOICES", - "quantityType": null - } - ], - "unavailableLines": [ - { - "unavailableQty": "1.0", - "itemLineId": "1", - "unavailableReasonCode": "OP_NOT_ENOUGH_PROD_CHOICES" - } - ], - "deliveries": [ - { - "id": "10780d68-6801-4b0d-b710-e89e3edb66d1", - "type": "TRUCK", - "deliveryItems": [ - { - "id": "fe6e541a-9309-49b5-a67b-08534aba009e", - "itemNo": "90428328", - "itemType": "ART", - "itemId": "2", - "parentId": null, - "quantity": "4", - "shipNode": "CDC.032", - "exceptionalQty": false - } - ], - "deliveryPrice": { - "amount": "199", - "taxDetails": [ - { - "taxableAmount": "165.83", - "taxPercentage": "20", - "taxCode": "0", - "taxAmount": "33.17", - "taxType": "VAT" - } - ], - "currencyCode": "RUB", - "inclTax": 199, - "exclTax": 165.82999999999998 - }, - "price": null, - "serviceItemId": "SGR40000852", - "unitOfMeasure": "ORDERS", - "shipNode": null, - "fulfillmentDeliveryId": "PUOP~~~2", - "timeWindows": [ - { - "id": "cac626df-13b5-46c1-b190-101e01399892", - "fromDateTime": "2021-06-18T15:00:00.000", - "toDateTime": "2021-06-18T22:00:00.000", - "resourcePoolId": "B2vO4DEZCUiM1g9wAO5bNA==", - "node": "LSC.2247", - "selected": true, - "timeZone": "Europe/Moscow", - "pageNum": null, - "startTime": "2021-06-18T15:00:00", - "endTime": null, - "slotAttributeGroup": "PUOP~4~STANDARD~~~PUOP~~~2~2247", - "tspID": "32087", - "tspName": null - } - ], - "timeWindowsStartDate": null, - "selectedTimeWindow": { - "id": "cac626df-13b5-46c1-b190-101e01399892", - "fromDateTime": "2021-06-18T15:00:00.000", - "toDateTime": "2021-06-18T22:00:00.000", - "resourcePoolId": "B2vO4DEZCUiM1g9wAO5bNA==", - "node": "LSC.2247", - "selected": true, - "timeZone": "Europe/Moscow", - "pageNum": null, - "startTime": "2021-06-18T15:00:00", - "endTime": null, - "slotAttributeGroup": "PUOP~4~STANDARD~~~PUOP~~~2~2247", - "tspID": "32087", - "tspName": null - }, - "pickUpPoints": [ - { - "country": "RU", - "identifier": "Икеа Сити в ТРЦ Мозайка@IKEA_RU", - "zipCode": "115193", - "openingHoursThuTime": "10:00-22:00", - "distance": 6.29, - "city": "Москва", - "openingHoursSatTime": "10:00-22:00", - "openingHoursWedTime": "10:00-22:00", - "openingHoursFriTime": "10:00-22:00", - "openingHoursTueTime": "10:00-22:00", - "name": "ИКЕА сити в ТРЦ Мозаика", - "addressLine1": "7-я Кожуховская улица", - "openingHoursSunTime": "10:00-22:00", - "addressLine2": "", - "openingHoursMonTime": "10:00-22:00", - "addressLine3": "", - "id": "Икеа Сити в ТРЦ Мозайка", - "selected": true, - "state": "", - "addressLine4": "9", - "lsc": "LSC.2247", - "latitude": "55.7094192504883", - "longitude": "37.6749420166016" - }, - { - "country": "RU", - "identifier": "Икеа Сити в ТРЦ Авиапарк (Ходынское Поле)@IKEA_RU", - "zipCode": "125252", - "openingHoursThuTime": "10:00-22:00", - "distance": 6.86, - "city": "Москва", - "openingHoursSatTime": "10:00-22:00", - "openingHoursWedTime": "10:00-22:00", - "openingHoursFriTime": "10:00-22:00", - "openingHoursTueTime": "10:00-22:00", - "name": "ИКЕА сити в ТРЦ Авиапарк", - "addressLine1": "Ходынский бульвар", - "openingHoursSunTime": "10:00-22:00", - "addressLine2": "", - "openingHoursMonTime": "10:00-22:00", - "addressLine3": "", - "id": "Икеа Сити в ТРЦ Авиапарк (Ходынское Поле)", - "selected": false, - "state": "", - "addressLine4": "4", - "lsc": "LSC.2248", - "latitude": "55.7848472595215", - "longitude": "37.5297203063965" - }, - { - "country": "RU", - "identifier": "Икеа Сити в ТРЦ Европолис (Ростокино)@IKEA_RU", - "zipCode": "129226", - "openingHoursThuTime": "10:00-22:00", - "distance": 8.51, - "city": "Москва", - "openingHoursSatTime": "10:00-22:00", - "openingHoursWedTime": "10:00-22:00", - "openingHoursFriTime": "10:00-22:00", - "openingHoursTueTime": "10:00-22:00", - "name": "ИКЕА сити в ТРЦ Европолис", - "addressLine1": "Проспект Мира", - "openingHoursSunTime": "10:00-22:00", - "addressLine2": "", - "openingHoursMonTime": "10:00-22:00", - "addressLine3": "", - "id": "Икеа Сити в ТРЦ Европолис (Ростокино)", - "selected": false, - "state": "", - "addressLine4": "211, корп. 2", - "lsc": "LSC.2310", - "latitude": "55.8351173400879", - "longitude": "37.6560020446777" - } - ], - "selectedPickupPoint": { - "country": "RU", - "identifier": "Икеа Сити в ТРЦ Мозайка@IKEA_RU", - "zipCode": "115193", - "openingHoursThuTime": "10:00-22:00", - "distance": 6.29, - "city": "Москва", - "openingHoursSatTime": "10:00-22:00", - "openingHoursWedTime": "10:00-22:00", - "openingHoursFriTime": "10:00-22:00", - "openingHoursTueTime": "10:00-22:00", - "name": "ИКЕА сити в ТРЦ Мозаика", - "addressLine1": "7-я Кожуховская улица", - "openingHoursSunTime": "10:00-22:00", - "addressLine2": "", - "openingHoursMonTime": "10:00-22:00", - "addressLine3": "", - "id": "Икеа Сити в ТРЦ Мозайка", - "selected": true, - "state": "", - "addressLine4": "9", - "lsc": "LSC.2247", - "latitude": "55.7094192504883", - "longitude": "37.6749420166016" - }, - "maxTWPageNum": null, - "rangeOfDays": false, - "exceptionalVolume": false, - "multifetchTimeWindows": false, - "exceptionalQty": false - } - ], - "selected": false, - "errorMessage": { - "errorDescription": "Partially available delivery service", - "errorCode": "10127" - }, - "estimatedDeliveryDaysMin": null, - "estimatedDeliveryDaysMax": null, - "deliveryServiceCheckSum": null, - "displayWheelchair": false, - "itemsAvailabilityStatus": "PARTIAL" - }, - { - "id": "a698fdd1-7e56-4c5d-bc7b-82f03cc503ad", - "solutionId": "CCS~2~STANDARD", - "deliveryArrangementId": "20210616161048444872152", - "fulfillmentMethodType": "CLICK_COLLECT_STORE", - "servicePrice": { - "amount": "199", - "taxDetails": [ - { - "taxableAmount": "165.83", - "taxPercentage": "20", - "taxCode": "0", - "taxAmount": "33.17", - "taxType": "VAT" - } - ], - "currencyCode": "RUB", - "inclTax": 199, - "exclTax": 165.82999999999998 - }, - "price": null, - "servicetype": "STANDARD", - "expiryTime": "2021-06-16T16:40:52.511Z", - "unavailableItems": [ - { - "id": "1", - "itemNo": "50497432", - "lineId": 1, - "type": "ART", - "requiredQuantity": 1, - "availableQuantity": 0, - "unavailabilityReason": "OP_NOT_ENOUGH_PROD_CHOICES", - "quantityType": null - } - ], - "unavailableLines": [ - { - "unavailableQty": "1.0", - "itemLineId": "1", - "unavailableReasonCode": "OP_NOT_ENOUGH_PROD_CHOICES" - } - ], - "deliveries": [ - { - "id": "1312d7dc-53eb-452f-8801-c7fb65318d02", - "type": "TRUCK", - "deliveryItems": [ - { - "id": "fe6e541a-9309-49b5-a67b-08534aba009e", - "itemNo": "90428328", - "itemType": "ART", - "itemId": "2", - "parentId": null, - "quantity": "4", - "shipNode": "STO.643", - "exceptionalQty": false - } - ], - "deliveryPrice": { - "amount": "199", - "taxDetails": [ - { - "taxableAmount": "165.83", - "taxPercentage": "20", - "taxCode": "0", - "taxAmount": "33.17", - "taxType": "VAT" - } - ], - "currencyCode": "RUB", - "inclTax": 199, - "exclTax": 165.82999999999998 - }, - "price": null, - "serviceItemId": "SGR50000875", - "unitOfMeasure": "ORDERS", - "shipNode": null, - "fulfillmentDeliveryId": "CCS~~~2", - "timeWindows": [ - { - "id": "2548b88a-2d00-4491-a6ff-101d013c8bd0", - "fromDateTime": "2021-06-17T10:00:00.000", - "toDateTime": "2021-06-17T12:00:00.000", - "resourcePoolId": "I0J/HtBkpkipOA/YATAO/Q==", - "node": "STO.643", - "selected": true, - "timeZone": "Europe/Moscow", - "pageNum": null, - "startTime": "2021-06-17T10:00:00", - "endTime": null, - "slotAttributeGroup": "CCS~2~STANDARD~~~CCS~~~2~643", - "tspID": "32217", - "tspName": null - } - ], - "timeWindowsStartDate": null, - "selectedTimeWindow": { - "id": "2548b88a-2d00-4491-a6ff-101d013c8bd0", - "fromDateTime": "2021-06-17T10:00:00.000", - "toDateTime": "2021-06-17T12:00:00.000", - "resourcePoolId": "I0J/HtBkpkipOA/YATAO/Q==", - "node": "STO.643", - "selected": true, - "timeZone": "Europe/Moscow", - "pageNum": null, - "startTime": "2021-06-17T10:00:00", - "endTime": null, - "slotAttributeGroup": "CCS~2~STANDARD~~~CCS~~~2~643", - "tspID": "32217", - "tspName": null - }, - "pickUpPoints": [ - { - "country": "RU", - "identifier": "Икеа Ростокино (C&C)@IKEASTORE_RU", - "zipCode": "129226", - "openingHoursThuTime": "10:00-22:00", - "distance": 8.51, - "city": "Москва", - "openingHoursSatTime": "10:00-22:00", - "openingHoursWedTime": "10:00-22:00", - "openingHoursFriTime": "10:00-22:00", - "openingHoursTueTime": "10:00-22:00", - "name": "ИКЕА сити в ТРЦ Европолис экспресс", - "addressLine1": "Проспект Мира", - "openingHoursSunTime": "10:00-22:00", - "addressLine2": "", - "openingHoursMonTime": "10:00-22:00", - "addressLine3": "", - "id": "Икеа Ростокино (C&C)", - "selected": true, - "state": "", - "addressLine4": "211, корп. 2", - "lsc": "STO.643", - "latitude": "55.8351173400879", - "longitude": "37.6560020446777" - } - ], - "selectedPickupPoint": { - "country": "RU", - "identifier": "Икеа Ростокино (C&C)@IKEASTORE_RU", - "zipCode": "129226", - "openingHoursThuTime": "10:00-22:00", - "distance": 8.51, - "city": "Москва", - "openingHoursSatTime": "10:00-22:00", - "openingHoursWedTime": "10:00-22:00", - "openingHoursFriTime": "10:00-22:00", - "openingHoursTueTime": "10:00-22:00", - "name": "ИКЕА сити в ТРЦ Европолис экспресс", - "addressLine1": "Проспект Мира", - "openingHoursSunTime": "10:00-22:00", - "addressLine2": "", - "openingHoursMonTime": "10:00-22:00", - "addressLine3": "", - "id": "Икеа Ростокино (C&C)", - "selected": true, - "state": "", - "addressLine4": "211, корп. 2", - "lsc": "STO.643", - "latitude": "55.8351173400879", - "longitude": "37.6560020446777" - }, - "maxTWPageNum": null, - "rangeOfDays": false, - "exceptionalVolume": false, - "multifetchTimeWindows": false, - "exceptionalQty": false - } - ], - "selected": false, - "errorMessage": { - "errorDescription": "Partially available delivery service", - "errorCode": "10127" - }, - "estimatedDeliveryDaysMin": null, - "estimatedDeliveryDaysMax": null, - "deliveryServiceCheckSum": null, - "displayWheelchair": false, - "itemsAvailabilityStatus": "PARTIAL" - }, - { - "id": "027849f2-479d-405f-99e6-20b2ccda05e2", - "solutionId": "CCS~3~STANDARD", - "deliveryArrangementId": "20210616161048444872152", - "fulfillmentMethodType": "CLICK_COLLECT_STORE", - "servicePrice": { - "amount": "199", - "taxDetails": [ - { - "taxableAmount": "165.83", - "taxPercentage": "20", - "taxCode": "0", - "taxAmount": "33.17", - "taxType": "VAT" - } - ], - "currencyCode": "RUB", - "inclTax": 199, - "exclTax": 165.82999999999998 - }, - "price": null, - "servicetype": "STANDARD", - "expiryTime": "2021-06-16T16:40:52.512Z", - "unavailableItems": [ - { - "id": "1", - "itemNo": "50497432", - "lineId": 1, - "type": "ART", - "requiredQuantity": 1, - "availableQuantity": 0, - "unavailabilityReason": "OP_NOT_ENOUGH_PROD_CHOICES", - "quantityType": null - } - ], - "unavailableLines": [ - { - "unavailableQty": "1.0", - "itemLineId": "1", - "unavailableReasonCode": "OP_NOT_ENOUGH_PROD_CHOICES" - } - ], - "deliveries": [ - { - "id": "da4e1946-ae0b-42ce-80e6-634bcdac6def", - "type": "TRUCK", - "deliveryItems": [ - { - "id": "fe6e541a-9309-49b5-a67b-08534aba009e", - "itemNo": "90428328", - "itemType": "ART", - "itemId": "2", - "parentId": null, - "quantity": "4", - "shipNode": "STO.437", - "exceptionalQty": false - } - ], - "deliveryPrice": { - "amount": "199", - "taxDetails": [ - { - "taxableAmount": "165.83", - "taxPercentage": "20", - "taxCode": "0", - "taxAmount": "33.17", - "taxType": "VAT" - } - ], - "currencyCode": "RUB", - "inclTax": 199, - "exclTax": 165.82999999999998 - }, - "price": null, - "serviceItemId": "SGR50000875", - "unitOfMeasure": "ORDERS", - "shipNode": null, - "fulfillmentDeliveryId": "CCS~~~4", - "timeWindows": [ - { - "id": "79412dee-d3ff-4f22-82b6-101d01392f7b", - "fromDateTime": "2021-06-17T13:00:00.000", - "toDateTime": "2021-06-17T14:00:00.000", - "resourcePoolId": "bmbmC+zfLEO2xg+EAFUCYA==", - "node": "STO.437", - "selected": true, - "timeZone": "Europe/Moscow", - "pageNum": null, - "startTime": "2021-06-17T13:00:00", - "endTime": null, - "slotAttributeGroup": "CCS~3~STANDARD~~~CCS~~~4~437", - "tspID": "32217", - "tspName": null - } - ], - "timeWindowsStartDate": null, - "selectedTimeWindow": { - "id": "79412dee-d3ff-4f22-82b6-101d01392f7b", - "fromDateTime": "2021-06-17T13:00:00.000", - "toDateTime": "2021-06-17T14:00:00.000", - "resourcePoolId": "bmbmC+zfLEO2xg+EAFUCYA==", - "node": "STO.437", - "selected": true, - "timeZone": "Europe/Moscow", - "pageNum": null, - "startTime": "2021-06-17T13:00:00", - "endTime": null, - "slotAttributeGroup": "CCS~3~STANDARD~~~CCS~~~4~437", - "tspID": "32217", - "tspName": null - }, - "pickUpPoints": [ - { - "country": "RU", - "identifier": "ИКЕА Нижний Новгород@IKEASTORE_RU", - "zipCode": "607686", - "openingHoursThuTime": "10:00-22:00", - "distance": 402.04, - "city": "Нижний Новгород", - "openingHoursSatTime": "10:00-22:00", - "openingHoursWedTime": "10:00-22:00", - "openingHoursFriTime": "10:00-22:00", - "openingHoursTueTime": "10:00-22:00", - "name": "ИКЕА Нижний Новгород", - "addressLine1": "с. Федяково", - "openingHoursSunTime": "10:00-22:00", - "addressLine2": "", - "openingHoursMonTime": "10:00-22:00", - "addressLine3": "", - "id": "ИКЕА Нижний Новгород", - "selected": true, - "state": "", - "addressLine4": "", - "lsc": "STO.437", - "latitude": "56.2237281799316", - "longitude": "44.041675567627" - } - ], - "selectedPickupPoint": { - "country": "RU", - "identifier": "ИКЕА Нижний Новгород@IKEASTORE_RU", - "zipCode": "607686", - "openingHoursThuTime": "10:00-22:00", - "distance": 402.04, - "city": "Нижний Новгород", - "openingHoursSatTime": "10:00-22:00", - "openingHoursWedTime": "10:00-22:00", - "openingHoursFriTime": "10:00-22:00", - "openingHoursTueTime": "10:00-22:00", - "name": "ИКЕА Нижний Новгород", - "addressLine1": "с. Федяково", - "openingHoursSunTime": "10:00-22:00", - "addressLine2": "", - "openingHoursMonTime": "10:00-22:00", - "addressLine3": "", - "id": "ИКЕА Нижний Новгород", - "selected": true, - "state": "", - "addressLine4": "", - "lsc": "STO.437", - "latitude": "56.2237281799316", - "longitude": "44.041675567627" - }, - "maxTWPageNum": null, - "rangeOfDays": false, - "exceptionalVolume": false, - "multifetchTimeWindows": false, - "exceptionalQty": false - } - ], - "selected": false, - "errorMessage": { - "errorDescription": "Partially available delivery service", - "errorCode": "10127" - }, - "estimatedDeliveryDaysMin": null, - "estimatedDeliveryDaysMax": null, - "deliveryServiceCheckSum": null, - "displayWheelchair": false, - "itemsAvailabilityStatus": "PARTIAL" - }, - { - "id": "9bcd3c83-17f8-4860-93a3-6116ee8db4fb", - "solutionId": "CCS~1~STANDARD", - "deliveryArrangementId": "20210616161048444872152", - "fulfillmentMethodType": "CLICK_COLLECT_STORE", - "servicePrice": { - "amount": "199", - "taxDetails": [ - { - "taxableAmount": "165.83", - "taxPercentage": "20", - "taxCode": "0", - "taxAmount": "33.17", - "taxType": "VAT" - } - ], - "currencyCode": "RUB", - "inclTax": 199, - "exclTax": 165.82999999999998 - }, - "price": null, - "servicetype": "STANDARD", - "expiryTime": "2021-06-16T16:40:52.512Z", - "unavailableItems": [ - { - "id": "1", - "itemNo": "50497432", - "lineId": 1, - "type": "ART", - "requiredQuantity": 1, - "availableQuantity": 0, - "unavailabilityReason": "OP_NOT_ENOUGH_PROD_CHOICES", - "quantityType": null - } - ], - "unavailableLines": [ - { - "unavailableQty": "1.0", - "itemLineId": "1", - "unavailableReasonCode": "OP_NOT_ENOUGH_PROD_CHOICES" - } - ], - "deliveries": [ - { - "id": "b2eeeec4-a7e2-4cf5-8b79-30fd3ce76cdd", - "type": "TRUCK", - "deliveryItems": [ - { - "id": "fe6e541a-9309-49b5-a67b-08534aba009e", - "itemNo": "90428328", - "itemType": "ART", - "itemId": "2", - "parentId": null, - "quantity": "4", - "shipNode": "STO.335", - "exceptionalQty": false - } - ], - "deliveryPrice": { - "amount": "199", - "taxDetails": [ - { - "taxableAmount": "165.83", - "taxPercentage": "20", - "taxCode": "0", - "taxAmount": "33.17", - "taxType": "VAT" - } - ], - "currencyCode": "RUB", - "inclTax": 199, - "exclTax": 165.82999999999998 - }, - "price": null, - "serviceItemId": "SGR50000875", - "unitOfMeasure": "ORDERS", - "shipNode": null, - "fulfillmentDeliveryId": "CCS~~~6", - "timeWindows": [ - { - "id": "37c2f94e-f776-431b-8ae9-0ff3014ab444", - "fromDateTime": "2021-06-17T14:00:00.000", - "toDateTime": "2021-06-17T16:00:00.000", - "resourcePoolId": "UFBIzVnaMU2KPw9+APBM9Q==", - "node": "STO.335", - "selected": true, - "timeZone": "Europe/Moscow", - "pageNum": null, - "startTime": "2021-06-17T14:00:00", - "endTime": null, - "slotAttributeGroup": "CCS~1~STANDARD~~~CCS~~~6~335", - "tspID": "32217", - "tspName": null - } - ], - "timeWindowsStartDate": null, - "selectedTimeWindow": { - "id": "37c2f94e-f776-431b-8ae9-0ff3014ab444", - "fromDateTime": "2021-06-17T14:00:00.000", - "toDateTime": "2021-06-17T16:00:00.000", - "resourcePoolId": "UFBIzVnaMU2KPw9+APBM9Q==", - "node": "STO.335", - "selected": true, - "timeZone": "Europe/Moscow", - "pageNum": null, - "startTime": "2021-06-17T14:00:00", - "endTime": null, - "slotAttributeGroup": "CCS~1~STANDARD~~~CCS~~~6~335", - "tspID": "32217", - "tspName": null - }, - "pickUpPoints": [ - { - "country": "RU", - "identifier": "ИКЕА Химки@IKEASTORE_RU", - "zipCode": "141400", - "openingHoursThuTime": "10:00-22:00", - "distance": 22.05, - "city": "Химки", - "openingHoursSatTime": "10:00-22:00", - "openingHoursWedTime": "10:00-22:00", - "openingHoursFriTime": "10:00-22:00", - "openingHoursTueTime": "10:00-22:00", - "name": "ИКЕА Химки", - "addressLine1": "м/р-н ИКЕА", - "openingHoursSunTime": "10:00-22:00", - "addressLine2": "", - "openingHoursMonTime": "10:00-22:00", - "addressLine3": "", - "id": "ИКЕА Химки", - "selected": true, - "state": "", - "addressLine4": "корпус 1", - "lsc": "STO.335", - "latitude": "55.9103355407715", - "longitude": "37.3999977111816" - } - ], - "selectedPickupPoint": { - "country": "RU", - "identifier": "ИКЕА Химки@IKEASTORE_RU", - "zipCode": "141400", - "openingHoursThuTime": "10:00-22:00", - "distance": 22.05, - "city": "Химки", - "openingHoursSatTime": "10:00-22:00", - "openingHoursWedTime": "10:00-22:00", - "openingHoursFriTime": "10:00-22:00", - "openingHoursTueTime": "10:00-22:00", - "name": "ИКЕА Химки", - "addressLine1": "м/р-н ИКЕА", - "openingHoursSunTime": "10:00-22:00", - "addressLine2": "", - "openingHoursMonTime": "10:00-22:00", - "addressLine3": "", - "id": "ИКЕА Химки", - "selected": true, - "state": "", - "addressLine4": "корпус 1", - "lsc": "STO.335", - "latitude": "55.9103355407715", - "longitude": "37.3999977111816" - }, - "maxTWPageNum": null, - "rangeOfDays": false, - "exceptionalVolume": false, - "multifetchTimeWindows": false, - "exceptionalQty": false - } - ], - "selected": false, - "errorMessage": { - "errorDescription": "Partially available delivery service", - "errorCode": "10127" - }, - "estimatedDeliveryDaysMin": null, - "estimatedDeliveryDaysMax": null, - "deliveryServiceCheckSum": null, - "displayWheelchair": false, - "itemsAvailabilityStatus": "PARTIAL" - } -] diff --git a/response_examples/purchases/purchase_history.json b/response_examples/purchases/purchase_history.json deleted file mode 100644 index a605c88a..00000000 --- a/response_examples/purchases/purchase_history.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "data": { - "history": [ - { - "id": "11111111", - "dateAndTime": { - "time": "10:12:00Z", - "date": "2021-04-19", - "formattedLocal": "19.04.2021", - "formattedShortDate": "19.04.2021", - "formattedLongDate": "19 апреля 2021", - "formattedShortDateTime": "19.04.2021 13:12", - "formattedLongDateTime": "19 апреля 2021, 13:12" - }, - "status": "IN_PROGRESS", - "storeName": "IKEA", - "totalCost": { - "code": "RUB", - "value": 8326.0 - } - }, - { - "id": "111111110", - "dateAndTime": { - "time": "18:16:25Z", - "date": "2021-04-14", - "formattedLocal": "14.04.2021", - "formattedShortDate": "14.04.2021", - "formattedLongDate": "14 апреля 2021", - "formattedShortDateTime": "14.04.2021 21:16", - "formattedLongDateTime": "14 апреля 2021, 21:16" - }, - "status": "COMPLETED", - "storeName": "IKEA", - "totalCost": { - "code": null, - "value": null - } - } - ] - } -} diff --git a/response_examples/purchases/purchase_info.json b/response_examples/purchases/purchase_info.json deleted file mode 100644 index 4d0e4422..00000000 --- a/response_examples/purchases/purchase_info.json +++ /dev/null @@ -1,88 +0,0 @@ -[ - { - "data": { - "order": { - "id": "11111111", - "dateAndTime": { - "time": "10:12:00Z", - "date": "2021-04-19", - "formattedLocal": "19 апреля 2021, 13:12", - "formattedShortDate": "19.04.2021", - "formattedLongDate": "19 апреля 2021", - "formattedShortDateTime": "19.04.2021 13:12", - "formattedLongDateTime": "19 апреля 2021, 13:12" - }, - "status": "CREATED", - "services": [], - "deliveryMethods": [ - { - "id": "-333333333", - "serviceId": "SGR00000854", - "status": "ON_ITS_WAY", - "type": "PARCEL", - "deliveryDate": { - "actual": null, - "estimatedFrom": { - "time": "06:00:00Z", - "date": "2021-04-24", - "formattedLocal": "24 апреля 2021, 09:00", - "formattedShortDate": "24.04.2021", - "formattedLongDate": "24 апреля 2021", - "formattedShortDateTime": "24.04.2021 09:00", - "formattedLongDateTime": "24 апреля 2021, 09:00" - }, - "estimatedTo": { - "time": "15:00:00Z", - "date": "2021-04-24", - "formattedLocal": "24 апреля 2021, 18:00", - "formattedShortDate": "24.04.2021", - "formattedLongDate": "24 апреля 2021", - "formattedShortDateTime": "24.04.2021 18:00", - "formattedLongDateTime": "24 апреля 2021, 18:00" - }, - "dateTimeRange": "24 апреля 2021, 09:00 - 18:00", - "timeZone": "Europe/Moscow" - } - } - ] - } - } - }, - { - "data": { - "order": { - "id": "11111111", - "costs": { - "total": { - "code": "RUB", - "value": 8326.0 - }, - "delivery": { - "code": "RUB", - "value": 399.0 - }, - "service": null, - "discount": null, - "sub": { - "code": "RUB", - "value": 7927.0 - }, - "tax": { - "code": "RUB", - "value": 1387.68 - }, - "taxRates": [ - { - "percentage": "20", - "name": "VAT", - "amount": { - "code": "RUB", - "value": 1387.68 - } - } - ] - } - } - } - } -] diff --git a/response_examples/update_response_examples.py b/response_examples/update_response_examples.py deleted file mode 100644 index f7916c68..00000000 --- a/response_examples/update_response_examples.py +++ /dev/null @@ -1,62 +0,0 @@ -import json -import os -import re -from typing import Any - -from ikea_api.endpoints import Cart, OrderCapture - -token = os.environ["TOKEN"] - -payloads = { - "add_items": {"90428328": 1}, - "update_items": {"90428328": 5}, - "remove_items": ["90428328"], -} - -class_args = {"OrderCapture": ("101000")} - -functions_to_skip = ["_error_handler", "copy_items", "set_coupon"] - - -def save_json(r: Any, *args: Any, **kwargs: Any): - directory = "response_examples" - try: - os.mkdir(directory) - except FileExistsError: - pass - module = re.findall(r".([^.]+$)", r.__module__)[0] - try: - os.mkdir(os.path.join(directory, module)) - except FileExistsError: - pass - path = os.path.join(directory, module, r.__name__ + ".json") - res: Any = r(*args, **kwargs) - with open(path, "a+") as f: - f.seek(0) - f.truncate() - j = json.dumps(res).encode().decode("unicode-escape") - f.write(j) - - -def save_responses_for_class(cl: Any, token: str): - for s in cl.__dict__: - if cl.__name__ in class_args: - cur_cl = cl(token, class_args[cl.__name__]) - else: - cur_cl = cl(token) - if not re.match(r"_", s) and s not in functions_to_skip: - f = getattr(cur_cl, s) - if s in payloads: - save_json(f, payloads[s]) - else: - save_json(f) - - -def main(): - Cart(token).add_items(payloads["add_items"]) - for cl in OrderCapture, Cart: - save_responses_for_class(cl, token) - - -if __name__ == "__main__": - main()