Groups CartItemSuggestions with a title
Field | Type | Description |
---|---|---|
name | String | Name of the group |
suggestions | [CartItemSuggestion] | Array of CartItemSuggestion |
When used inside a request.
{
"name": "...",
"suggestions": [
{
"name": "...",
"description": "...",
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"price_change": {
"value": 19,
"currency": "EUR"
},
"price_change_without_discount": {
"value": 15,
"currency": "EUR"
},
"item": {
"amount": 12,
"persons": 15,
"gram": 17,
"comment": "...",
"product_id": 18,
"product_price_id": 11,
"shop_id": 11,
"options": [
{
"option_id": 17,
"upload_id": 14
},
{
"option_id": 14,
"upload_id": 13
},
{
"option_id": 13,
"upload_id": 13
}
]
}
},
{
"name": "...",
"description": "...",
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"price_change": {
"value": 19,
"currency": "EUR"
},
"price_change_without_discount": {
"value": 19,
"currency": "EUR"
},
"item": {
"amount": 14,
"persons": 12,
"gram": 16,
"comment": "...",
"product_id": 16,
"product_price_id": 17,
"shop_id": 18,
"options": [
{
"option_id": 17,
"upload_id": 15
},
{
"option_id": 18,
"upload_id": 17
},
{
"option_id": 15,
"upload_id": 18
}
]
}
},
{
"name": "...",
"description": "...",
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"price_change": {
"value": 12,
"currency": "EUR"
},
"price_change_without_discount": {
"value": 13,
"currency": "EUR"
},
"item": {
"amount": 11,
"persons": 14,
"gram": 13,
"comment": "...",
"product_id": 17,
"product_price_id": 12,
"shop_id": 16,
"options": [
{
"option_id": 19,
"upload_id": 14
},
{
"option_id": 10,
"upload_id": 11
},
{
"option_id": 15,
"upload_id": 15
}
]
}
}
]
}
When returned in a response.
{
"name": "...",
"suggestions": [
{
"name": "...",
"description": "...",
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"price_change": {
"value": 11,
"currency": "EUR"
},
"price_change_without_discount": {
"value": 14,
"currency": "EUR"
},
"item": {
"amount": 12,
"persons": 11,
"gram": 12,
"comment": "...",
"product": {
"id": 15,
"name": "...",
"images": [
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
}
],
"price_type": "PER_UNIT",
"target_price": true,
"price": {
"value": 13,
"currency": "EUR"
},
"only_order_in_store": true,
"category": {
"id": 12,
"name": "..."
},
"origin": "..."
},
"product_price": {
"id": 19,
"name": "...",
"price": {
"value": 17,
"currency": "EUR"
}
},
"calculated_prices": {
"unit_price": {
"value": 10,
"currency": "EUR"
},
"price": {
"value": 16,
"currency": "EUR"
}
},
"discount_prices": {
"unit_price": {
"value": 16,
"currency": "EUR"
},
"price": {
"value": 13,
"currency": "EUR"
}
},
"amount_free": 10,
"shop": {
"id": 10,
"name": "Prof. Jacinto Schinner II",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": true,
"url": "...",
"allow_order_comments": true,
"allow_product_comments": true,
"allow_order_messages": true,
"allow_orders": false,
"currency": "EUR"
},
"options": [
{
"option": {
"id": 11,
"name": "...",
"price_change": {
"value": 13,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 12,
"name": "...",
"code": "..."
}
},
"upload": {
"id": 19,
"url": "https://example.com"
}
},
{
"option": {
"id": 17,
"name": "...",
"price_change": {
"value": 14,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 10,
"name": "...",
"code": "..."
}
},
"upload": {
"id": 12,
"url": "https://example.com"
}
},
{
"option": {
"id": 14,
"name": "...",
"price_change": {
"value": 15,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 15,
"name": "...",
"code": "..."
}
},
"upload": {
"id": 19,
"url": "https://example.com"
}
}
]
}
},
{
"name": "...",
"description": "...",
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"price_change": {
"value": 13,
"currency": "EUR"
},
"price_change_without_discount": {
"value": 12,
"currency": "EUR"
},
"item": {
"amount": 17,
"persons": 12,
"gram": 16,
"comment": "...",
"product": {
"id": 10,
"name": "...",
"images": [
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
}
],
"price_type": "PER_UNIT",
"target_price": true,
"price": {
"value": 13,
"currency": "EUR"
},
"only_order_in_store": false,
"category": {
"id": 12,
"name": "..."
},
"origin": "..."
},
"product_price": {
"id": 19,
"name": "...",
"price": {
"value": 12,
"currency": "EUR"
}
},
"calculated_prices": {
"unit_price": {
"value": 12,
"currency": "EUR"
},
"price": {
"value": 14,
"currency": "EUR"
}
},
"discount_prices": {
"unit_price": {
"value": 16,
"currency": "EUR"
},
"price": {
"value": 12,
"currency": "EUR"
}
},
"amount_free": 19,
"shop": {
"id": 10,
"name": "Daniela Jacobson II",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": true,
"url": "...",
"allow_order_comments": false,
"allow_product_comments": true,
"allow_order_messages": false,
"allow_orders": false,
"currency": "EUR"
},
"options": [
{
"option": {
"id": 12,
"name": "...",
"price_change": {
"value": 12,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 11,
"name": "...",
"code": "..."
}
},
"upload": {
"id": 11,
"url": "https://example.com"
}
},
{
"option": {
"id": 17,
"name": "...",
"price_change": {
"value": 14,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 13,
"name": "...",
"code": "..."
}
},
"upload": {
"id": 14,
"url": "https://example.com"
}
},
{
"option": {
"id": 15,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 16,
"name": "...",
"code": "..."
}
},
"upload": {
"id": 19,
"url": "https://example.com"
}
}
]
}
},
{
"name": "...",
"description": "...",
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"price_change": {
"value": 10,
"currency": "EUR"
},
"price_change_without_discount": {
"value": 11,
"currency": "EUR"
},
"item": {
"amount": 18,
"persons": 10,
"gram": 13,
"comment": "...",
"product": {
"id": 19,
"name": "...",
"images": [
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
}
],
"price_type": "PER_UNIT",
"target_price": false,
"price": {
"value": 18,
"currency": "EUR"
},
"only_order_in_store": true,
"category": {
"id": 15,
"name": "..."
},
"origin": "..."
},
"product_price": {
"id": 14,
"name": "...",
"price": {
"value": 12,
"currency": "EUR"
}
},
"calculated_prices": {
"unit_price": {
"value": 13,
"currency": "EUR"
},
"price": {
"value": 17,
"currency": "EUR"
}
},
"discount_prices": {
"unit_price": {
"value": 13,
"currency": "EUR"
},
"price": {
"value": 11,
"currency": "EUR"
}
},
"amount_free": 10,
"shop": {
"id": 13,
"name": "Julie Lubowitz",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": true,
"url": "...",
"allow_order_comments": true,
"allow_product_comments": false,
"allow_order_messages": false,
"allow_orders": true,
"currency": "EUR"
},
"options": [
{
"option": {
"id": 17,
"name": "...",
"price_change": {
"value": 15,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 14,
"name": "...",
"code": "..."
}
},
"upload": {
"id": 18,
"url": "https://example.com"
}
},
{
"option": {
"id": 14,
"name": "...",
"price_change": {
"value": 17,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 12,
"name": "...",
"code": "..."
}
},
"upload": {
"id": 18,
"url": "https://example.com"
}
},
{
"option": {
"id": 10,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 17,
"name": "...",
"code": "..."
}
},
"upload": {
"id": 19,
"url": "https://example.com"
}
}
]
}
}
]
}