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": true
},
"price_change": {
"value": 19,
"currency": "EUR"
},
"price_change_without_discount": {
"value": 18,
"currency": "EUR"
},
"item": {
"amount": 11,
"persons": 17,
"gram": 11,
"comment": "...",
"product_id": 12,
"product_price_id": 13,
"shop_id": 11,
"options": [
{
"option_id": 17,
"upload_id": 11,
"amount": 10
},
{
"option_id": 10,
"upload_id": 15,
"amount": 10
},
{
"option_id": 15,
"upload_id": 17,
"amount": 17
}
]
}
},
{
"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": 10,
"currency": "EUR"
},
"item": {
"amount": 11,
"persons": 16,
"gram": 18,
"comment": "...",
"product_id": 19,
"product_price_id": 12,
"shop_id": 18,
"options": [
{
"option_id": 16,
"upload_id": 10,
"amount": 10
},
{
"option_id": 18,
"upload_id": 17,
"amount": 11
},
{
"option_id": 15,
"upload_id": 11,
"amount": 15
}
]
}
},
{
"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": 14,
"currency": "EUR"
},
"price_change_without_discount": {
"value": 13,
"currency": "EUR"
},
"item": {
"amount": 18,
"persons": 18,
"gram": 19,
"comment": "...",
"product_id": 13,
"product_price_id": 15,
"shop_id": 16,
"options": [
{
"option_id": 12,
"upload_id": 12,
"amount": 14
},
{
"option_id": 15,
"upload_id": 19,
"amount": 14
},
{
"option_id": 16,
"upload_id": 18,
"amount": 11
}
]
}
}
]
}
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": 18,
"currency": "EUR"
},
"price_change_without_discount": {
"value": 13,
"currency": "EUR"
},
"item": {
"amount": 14,
"persons": 16,
"gram": 19,
"comment": "...",
"product": {
"id": 18,
"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": 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": true,
"price": {
"value": 10,
"currency": "EUR"
},
"only_order_in_store": false,
"category": {
"id": 15,
"name": "..."
},
"origin": "..."
},
"product_price": {
"id": 11,
"name": "...",
"price": {
"value": 17,
"currency": "EUR"
}
},
"calculated_prices": {
"unit_price": {
"value": 11,
"currency": "EUR"
},
"price": {
"value": 18,
"currency": "EUR"
}
},
"discount_prices": {
"unit_price": {
"value": 16,
"currency": "EUR"
},
"price": {
"value": 12,
"currency": "EUR"
}
},
"amount_free": 13,
"shop": {
"id": 18,
"name": "Dario Funk",
"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,
"global_discount_percentage": 17,
"allow_orders": false,
"currency": "EUR"
},
"options": [
{
"option": {
"id": 10,
"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": false
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 13,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": true,
"min_different_options": 14,
"max_different_options": 14,
"min_amount_options": 10,
"max_amount_options": 13
}
},
"upload": {
"id": 10,
"url": "https://example.com"
},
"amount": 14
},
{
"option": {
"id": 13,
"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": true
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 11,
"name": "...",
"code": "...",
"multiple_choice": true,
"choose_amount": false,
"min_different_options": 13,
"max_different_options": 15,
"min_amount_options": 11,
"max_amount_options": 12
}
},
"upload": {
"id": 13,
"url": "https://example.com"
},
"amount": 10
},
{
"option": {
"id": 15,
"name": "...",
"price_change": {
"value": 10,
"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": 11,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": false,
"min_different_options": 13,
"max_different_options": 11,
"min_amount_options": 15,
"max_amount_options": 19
}
},
"upload": {
"id": 19,
"url": "https://example.com"
},
"amount": 16
}
]
}
},
{
"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": 16,
"currency": "EUR"
},
"price_change_without_discount": {
"value": 16,
"currency": "EUR"
},
"item": {
"amount": 15,
"persons": 16,
"gram": 14,
"comment": "...",
"product": {
"id": 11,
"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": true
}
],
"price_type": "PER_UNIT",
"target_price": true,
"price": {
"value": 19,
"currency": "EUR"
},
"only_order_in_store": true,
"category": {
"id": 13,
"name": "..."
},
"origin": "..."
},
"product_price": {
"id": 15,
"name": "...",
"price": {
"value": 16,
"currency": "EUR"
}
},
"calculated_prices": {
"unit_price": {
"value": 13,
"currency": "EUR"
},
"price": {
"value": 15,
"currency": "EUR"
}
},
"discount_prices": {
"unit_price": {
"value": 17,
"currency": "EUR"
},
"price": {
"value": 12,
"currency": "EUR"
}
},
"amount_free": 16,
"shop": {
"id": 17,
"name": "Mr. Erwin Walker PhD",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"url": "...",
"allow_order_comments": true,
"allow_product_comments": false,
"allow_order_messages": true,
"global_discount_percentage": 12,
"allow_orders": false,
"currency": "EUR"
},
"options": [
{
"option": {
"id": 13,
"name": "...",
"price_change": {
"value": 10,
"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": "...",
"multiple_choice": false,
"choose_amount": true,
"min_different_options": 14,
"max_different_options": 14,
"min_amount_options": 13,
"max_amount_options": 13
}
},
"upload": {
"id": 18,
"url": "https://example.com"
},
"amount": 16
},
{
"option": {
"id": 19,
"name": "...",
"price_change": {
"value": 16,
"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": 18,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": false,
"min_different_options": 15,
"max_different_options": 15,
"min_amount_options": 18,
"max_amount_options": 15
}
},
"upload": {
"id": 13,
"url": "https://example.com"
},
"amount": 16
},
{
"option": {
"id": 17,
"name": "...",
"price_change": {
"value": 19,
"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": "...",
"multiple_choice": false,
"choose_amount": false,
"min_different_options": 10,
"max_different_options": 17,
"min_amount_options": 17,
"max_amount_options": 16
}
},
"upload": {
"id": 18,
"url": "https://example.com"
},
"amount": 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": 18,
"currency": "EUR"
},
"price_change_without_discount": {
"value": 18,
"currency": "EUR"
},
"item": {
"amount": 10,
"persons": 19,
"gram": 11,
"comment": "...",
"product": {
"id": 14,
"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": true
}
],
"price_type": "PER_UNIT",
"target_price": true,
"price": {
"value": 16,
"currency": "EUR"
},
"only_order_in_store": false,
"category": {
"id": 11,
"name": "..."
},
"origin": "..."
},
"product_price": {
"id": 13,
"name": "...",
"price": {
"value": 12,
"currency": "EUR"
}
},
"calculated_prices": {
"unit_price": {
"value": 13,
"currency": "EUR"
},
"price": {
"value": 10,
"currency": "EUR"
}
},
"discount_prices": {
"unit_price": {
"value": 17,
"currency": "EUR"
},
"price": {
"value": 11,
"currency": "EUR"
}
},
"amount_free": 13,
"shop": {
"id": 15,
"name": "Mrs. Jody Dare",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"url": "...",
"allow_order_comments": false,
"allow_product_comments": false,
"allow_order_messages": true,
"global_discount_percentage": 15,
"allow_orders": false,
"currency": "EUR"
},
"options": [
{
"option": {
"id": 18,
"name": "...",
"price_change": {
"value": 18,
"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": 11,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": true,
"min_different_options": 15,
"max_different_options": 11,
"min_amount_options": 14,
"max_amount_options": 10
}
},
"upload": {
"id": 17,
"url": "https://example.com"
},
"amount": 13
},
{
"option": {
"id": 14,
"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": true,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 13,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": false,
"min_different_options": 17,
"max_different_options": 19,
"min_amount_options": 15,
"max_amount_options": 15
}
},
"upload": {
"id": 17,
"url": "https://example.com"
},
"amount": 10
},
{
"option": {
"id": 16,
"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": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE",
"optionset": {
"id": 11,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": false,
"min_different_options": 18,
"max_different_options": 18,
"min_amount_options": 16,
"max_amount_options": 14
}
},
"upload": {
"id": 17,
"url": "https://example.com"
},
"amount": 19
}
]
}
}
]
}