checkout_identifier that maps directly to a shipping_option_code, allowing you to create a shipment later during fulfillment using the Shipments API.
The Dynamic Checkout endpoint is read-only. It does not create shipments, generate labels, or store delivery selections — it only resolves which options are available.
Before you begin
To use this endpoint, you must:- Make sure you’ve completed basic account set up. See Quickstart guide.
- Authenticate using HTTP Basic Authentication (API public and secret keys). See Authentication.
- Create and publish a Dynamic Checkout configuration in the Sendcloud platform.
configuration_id in requests must refer to a published configuration linked to your API integration.
Calling the endpoint
To retrieve delivery options, send aGET request to the Retrieve a list of delivery options endpoint, including the required checkout context as query parameters.
Required query parameters
The endpoint determines delivery eligibility based on:configuration_id: UUID of the published Dynamic Checkout configurationweight_value: Total cart/order weight (in grams)total_order_value:Total cart/order value (in the configuration currency)from_country_code: ISO 3166-1 alpha-2 sender countryto_country_code: ISO 3166-1 alpha-2 recipient country
Optional query parameters
Use these when using Checkout Rules:to_postal_codeparcel_length,parcel_width,parcel_heightcheckout_metadata(custom value used in rule evaluation)checkout_identifier_type(default: shipping_option_code)
Note: To create a shipment from a selected delivery option, request delivery options with:
checkout_identifier_type
= shipping_option_code. This ensures the returned checkout_identifier contains the shipping option code required
for shipment creation.Response
If the request is successful, you’ll receive:- HTTP 200 status code
- The evaluated
configuration_id - A list of
delivery_options
- A unique
id - A
checkout_identifier(used for shipment creation) - Delivery method and carrier information
- Pricing details
- Estimated delivery timing
Note: Field names are aligned to API payload — see the Dynamic Checkout API v3
reference for the full schema.
Error Handling
If required parameters are missing or invalid, the API will return an error response. Always validate:- That the
configuration_idis published and linked to your integration - That weight and order value meet expected formats and ranges
- That country codes follow ISO 3166-1 alpha-2 standards
Note: See the Dynamic Checkout API v3 reference for
full error response details.