Get Cart Item Product Options

GET
/v1beta/:cart_id/items/:item_id/options

Get alternative store products for a cart item

Parameters

ATTRIBUTETYPEDESCRIPTION
cart_id*string

Unique cart identifier

item_id*string

Unique item identifier

Sample Request

curl "https://graph.whisk.com/v1beta/39247bbe44e145578ede8cab9fa89dd1/items/89362f250e6b42208eb3982a95e70144/options" \ -H "Accept: application/json" \ -H "Authorization: Token <Access-Token>"

Response

ATTRIBUTETYPEDESCRIPTION
options*array [CartProductOption]

available store item options

Store Item

ATTRIBUTETYPEDESCRIPTION
sku*string

store item identifier

name*string

store item name

quantity*CartProductQuantity

quantity of product items

price CartItemPrice

price for the quantity of products

images*array [ImageContainer]
urlstring

link to product page in store

Sample Response

{ "options": [ { "sku": "299626009", "name": "Tesco 15 Eggs", "quantity": { "count": 1 }, "price": { "list": 1.19 }, "images": [ { "url": "https://img.tesco.com/Groceries/pi/043/5057545736043/IDShot_540x540.jpg" } ], "url": "https://www.tesco.com/groceries/en-GB/products/299626009" }, { "sku": "299625707", "name": "Tesco 6 Eggs", "quantity": { "count": 2 }, "price": { "list": 0.7 }, "images": [ { "url": "https://img.tesco.com/Groceries/pi/770/5057545735770/IDShot_540x540.jpg" } ], "url": "https://www.tesco.com/groceries/en-GB/products/299625707" }, { "sku": "251744530", "name": "Big And Fresh Mixed Sized Eggs 10 Pack", "quantity": { "count": 1 }, "price": { "list": 1.5 }, "images": [ { "url": "https://img.tesco.com/Groceries/pi/686/0000050326686/IDShot_540x540.jpg" } ], "url": "https://www.tesco.com/groceries/en-GB/products/251744530" }, { "sku": "260298462", "name": "Tesco Medium Free Range Eggs 12 Pack", "quantity": { "count": 1 }, "price": { "list": 1.75 }, "images": [ { "url": "https://img.tesco.com/Groceries/pi/471/5051140150471/IDShot_540x540.jpg" } ], "url": "https://www.tesco.com/groceries/en-GB/products/260298462" }, { "sku": "250802613", "name": "Tesco Medium Free Range Eggs 6 Pack", "quantity": { "count": 2 }, "price": { "list": 0.89 }, "images": [ { "url": "https://img.tesco.com/Groceries/pi/341/5018374888341/IDShot_540x540.jpg" } ], "url": "https://www.tesco.com/groceries/en-GB/products/250802613" }, { "sku": "253270171", "name": "Big And Fresh Mixed Sized Eggs 6 Pack", "quantity": { "count": 2 }, "price": { "list": 1 }, "images": [ { "url": "https://img.tesco.com/Groceries/pi/273/0000050326273/IDShot_540x540.jpg" } ], "url": "https://www.tesco.com/groceries/en-GB/products/253270171" }, { "sku": "265422924", "name": "Tesco Mixed Sized Free Range Eggs 15 Pack", "quantity": { "count": 1 }, "price": { "list": 2 }, "images": [ { "url": "https://img.tesco.com/Groceries/pi/706/5052003671706/IDShot_540x540.jpg" } ], "url": "https://www.tesco.com/groceries/en-GB/products/265422924" } ] }