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

tenantIdrequired
eComStoreIdrequired
cartIdrequired

Request body (required)

application/json
addressrequired
Show child fields
cityrequired
countryIsoCoderequired

ISO 3166-1 alpha-2

Example"NO"
postCoderequired
streetoptional

Street address; improves pickup point ordering

Responses

200Response
application/json
optionsrequired
Show 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.

carrierAgreementCoderequired
carrierCoderequired
carrierNamerequired
carrierProductCoderequired
carrierProductNamerequired
expectedDeliveryoptional

Carrier's expected delivery date

freightVatRaterequired

VAT rate as a percentage; the checkout's freightVatRate

  • Format: BigDecimal
Example"100.0"
grossFreightAmountrequired

Freight including VAT, what the shopper pays

  • Format: BigDecimal
Example"100.0"
netFreightAmountrequired

Freight excluding VAT; the checkout's netFreightAmount

  • Format: BigDecimal
Example"100.0"
pickupPointRequiredrequired

The shopper must choose a pickup point; fetch them with POST /carts/{cartId}/pickup_points and send the choice as carrierProductPayload

workingDaysoptional

Carrier's estimate of working days to delivery

  • Format: int32
400Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
401Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
403Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
404Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested 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/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
422Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"