After creating a checkout, you need to attach a delivery address and time slot before submitting.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ivorpad/mercadona-cli/llms.txt
Use this file to discover all available pages before exploring further.
checkout slots lists available delivery slots for a given address, and checkout set-delivery locks in your choice. Both steps are fully reversible — they reserve nothing irreversibly until checkout submit --yes is run.
Synopsis
checkout slots Flags
| Flag | Required | Description |
|---|---|---|
--address <id> | ✅ | Delivery address ID (integer, from checkout create or checkout addresses) |
--json | — | Emit raw slots JSON |
checkout set-delivery Flags
| Flag | Required | Description |
|---|---|---|
--checkout <id> | ✅ | Checkout ID |
--address <id> | ✅ | Delivery address ID (integer) |
--slot <id> | ✅ | Delivery slot ID (string) |
--max <eur> | — | Refuse if total (products + delivery fee) exceeds this amount |
--json | — | Emit raw response JSON |
Complete Delivery Selection Flow
Slots JSON Shape
Thecheckout slots command returns a paginated list of available delivery windows:
id is a string; address id is an integer. Pass them to the matching flags accordingly — --slot slot-abc123 and --address 12345.
next_page in the slots response is used to paginate across available windows. If no slots show "available": true for a given address, check "open" on each entry and try another address with checkout addresses, or query slots again on a different date. Slots are fetched from GET /api/customers/<id>/addresses/<addr>/slots/ — they live under the address, not the checkout.