Splitting Combined Items
Last updated
Last updated
POST
https://graph.whisk.com/v1/:cart_id/items/:item_id/split
You can split automatically combined items. Split items will not be combined again. More about combined items here.
Name | Type | Description |
---|---|---|
cart_id
string
Unique cart identifier
item_id
string
Unique cart item identifier
ATTRIBUTE
TYPE
DESCRIPTION
id*
string
unique cart identifier
retailer*
Retailer
store details
items*
array [CartItemResponse]
matched products
groups*
array [CartGroupResponse]
ingredients can be grouped by recipe or another arbitrary group
created*
long
time of cart creation; in Unix timestamp format (seconds)
expiresIn
long
The time when cart will be expired; in Unix timestamp format (seconds)
ATTRIBUTE
TYPE
DESCRIPTION
id*
string
unique cart item identifier
sourceList*
array [CartItemSource]
list of original ingredients related to the current item
product
store item
combined
array [CombinedProductsInfo]
information about combined items, if items were combined by a similar product
analysis
object
Analysis for cart item (category, product canonical name)
ATTRIBUTE
TYPE
DESCRIPTION
sku*
string
store item identifier
name*
string
store item name
quantity*
quantity of product items
price
price for the number of products
images*
array [ImageContainer]
url
string
link to the product page in the store
ATTRIBUTE
TYPE
DESCRIPTION
id*
string
The unique cart group identifier
type*
enum
ingredients can be grouped by recipe or custom group Possible values: Recipe, Custom.
displayName*
string
group display name
recipe
RecipeDetails
recipe details
ATTRIBUTE
TYPE
DESCRIPTION
list*
double
list price
ATTRIBUTE
TYPE
DESCRIPTION
name*
string
source item text
groupId
string
group identifier
ATTRIBUTE
TYPE
DESCRIPTION
count*
integer
number of items
ATTRIBUTE
TYPE
DESCRIPTION
name*
string
name of combined items