POST/v1/tenants/{tenantId}/ecom_stores/{eComStoreId}/carts/{cartId}/delivery_options
List delivery options for a cart Experimental
The ways the cart can be delivered to an address, priced live by the carrier on the merchant's own agreements for the cart's weight. Nothing is configured in SnowBee. Send the chosen option's carrier fields and amounts as the freight block of the payment session and the checkout; for a pickup product, also the chosen pickup point.
Parameters
tenantIdrequiredeComStoreIdrequiredcartIdrequired
Request body (required)
application/jsonaddressrequiredShow child fields
cityrequiredcountryIsoCoderequiredISO 3166-1 alpha-2
Example"NO"postCoderequiredstreetoptionalStreet address; improves pickup point ordering
Responses
application/jsonoptionsrequiredShow item fields
A way to get the cart delivered, priced live on the merchant's carrier agreement. Pass the carrier fields and amounts on as the checkout's freight block.
carrierAgreementCoderequiredcarrierCoderequiredcarrierNamerequiredcarrierProductCoderequiredcarrierProductNamerequiredexpectedDeliveryoptionalCarrier's expected delivery date
freightVatRaterequiredVAT rate as a percentage; the checkout's freightVatRate
- Format: BigDecimal
Example"100.0"grossFreightAmountrequiredFreight including VAT, what the shopper pays
- Format: BigDecimal
Example"100.0"netFreightAmountrequiredFreight excluding VAT; the checkout's netFreightAmount
- Format: BigDecimal
Example"100.0"pickupPointRequiredrequiredThe shopper must choose a pickup point; fetch them with POST /carts/{cartId}/pickup_points and send the choice as carrierProductPayload
workingDaysoptionalCarrier's estimate of working days to delivery
- Format: int32
400Response
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
401Response
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
403Response
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
404Response
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
409The store's company has no Profrakt transport configuration
The store's company has no Profrakt transport configuration
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
422Response
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"