post
https://api.staging.deliverect.com/commerce//baskets
Creates a Basket for a specified store to validate content. If successfully validated, an id is returned that will be used when proceeding to Checkout Basket. A basket can be first created without items and updated later via Update Basket - Item(s)
Basket Validation
The combination of channelLinkId and a valid menuId will provide the required reference to validate basket items in the following criteria;
- Items are available and valid for the "
fulfillment.type" specified. - Item selections comply with menu rules, e.g, minimum and maximum values
- Requested times fall within store operating hours
- Fulfillment type specified is offered by the store
Pre-defined charges
Extra charges can be applied automatically if configured in Deliverect.
| Charge | Definition |
|---|---|
| Delivery Fee | Cost of delivery payable by the customer |
| Service Charge | Any additional charges levied e.g. transaction fees |
| Bag Fee | Unique charge for provision of packaging for orders |
Tax Calculation
In certain 'Tax Exclusive' regions e.g. US/Canada, the complete calculated tax totals can be serviced via the integrated POS. This will be factored into "payment.total" and a specific breakdown of tax code will be returned within "taxes": []
