patch https://api.staging.deliverect.com/commerce//baskets//fulfillment
Amend the order fulfilment type of a basket.
Fulfillment Types:
| Type | String Value |
|---|---|
| Pickup | pickup |
| Delivery | delivery |
| Eat-In | eatIn |
| Dispatch | dispatch |
Fulfillment Body Parameters:
- pickup
{ "type": "pickup", } - delivery
{ "type": "delivery", "time": "2024-01-15T10:00", "address": { "line": "Foreestelaan 82, 9000 Gent, Belgium", "coordinates": [51.03162341734958, 3.7337162550022622] } } - eatIn
{ "type": "eatIn", "spot": "table 2" } - dispatch
{ "type": "dispatch", "time": "2024-01-15T10:00", "address": { "line": "Foreestelaan 82, 9000 Gent, Belgium", "coordinates": [51.03162341734958, 3.7337162550022622] }, "offer": { "validationId": "62********************3e", "available": true, "expiresAt": "2024-01-15T09:30:00", "pickupTimeETA": "2024-01-15T09:45:00", "deliveryTimeETA": "2024-01-15T10:00:00", "price": 1000 } }