Note: This guide covers our latest version, Dynamic Checkout API v3. For full endpoint and schema documentation, see
the API reference.
When to use the Dynamic Checkout API
Use the Dynamic Checkout API to dynamically determine which delivery options are available during checkout, based on real-time context. Itβs particularly useful when you want to:- Show delivery options in real time as the customer updates their address
- Adapt delivery choices based on live checkout data
- Power a custom or headless checkout flow
- Custom storefronts or headless commerce setups
- Platforms where native Sendcloud checkout extensions are not available
- Checkout flows that must resolve delivery options before payment
- Does not create shipments
- Does not generate labels
- Does not list or search service points
How it fits into the Sendcloud workflow
The Dynamic Checkout API represents the delivery option resolution phase which operates before order creation and shipment fulfillment. It resolves which delivery options are available to the customer at checkout, based on real-time context. Typical flow includes:- Customer enters a destination address in checkout
- Your system calls the Retrieve a list of delivery options endpoint
- The API returns eligible delivery options for that context
- The customer selects one option
- Your system stores the selected option with the order
- During fulfillment, you create a shipment using the Shipments or Ship-an-Order API.
Key Concepts
| Concept | Definition |
|---|---|
| Delivery option | The delivery option is the core response object from the API. Each delivery option represents a valid carrier service that a customer could choose at checkout. The API returns one delivery option per carrier configured for a delivery method. |
checkout_identifier | Each delivery option includes a checkout_identifier field that can be used downstream (for example, to map to a shipping option code in the Shipments API, enabling shipment creation with the selected option). |
| Mapping to configured delivery methods | If a delivery method uses multiple carriers (e.g., the Service Point delivery method configured with more than one carrier), the API will return multiple delivery options with distinct carriers but referencing the same delivery method ID. |