Field | Type | Description |
---|---|---|
method | String | Optional. String enumarion of 'delivery', 'takeout', 'latch' |
delivery | Checkout.Delivery | Optional. |
takeout | Checkout.Takeout | Optional. |
latch | Checkout.Latch | Optional. |
isop | Checkout.ISOP | Optional. |
warranty | Checkout.Warranty | Optional. |
invoice | Checkout.Invoice | Optional. |
config | Checkout.Configuration | Optional. |
coupons | [Checkout.Coupon] | Optional. Array of Checkout.Coupon |
{
"method": "delivery",
"delivery": {
"date": "2019-01-31",
"time": "12:00",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"notes": "...",
"end_time": "12:00"
},
"takeout": {
"shops": {
"...": {
"id": 10,
"date": "2019-01-31",
"time": "12:00"
}
}
},
"latch": {
"latch_id": 15,
"telephone": "+32 475 00 00 00",
"date": "2019-01-31",
"time": "12:00",
"notification_method": "email"
},
"isop": {
"origin": "in-store",
"customer_id": 13,
"employee_id": 13
},
"warranty": {
"bank": "ING. Bank"
},
"invoice": {
"company": {
"name": "...",
"vat": "BE0123456789",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
}
}
},
"config": {
"askInvoice": false,
"askIsop": true
},
"coupons": [
{
"code": "..."
},
{
"code": "..."
},
{
"code": "..."
}
]
}