SbPublicApiDeliveryOptionsResponse

snowbee.ecom.cart.SbPublicApiDeliveryOptionsResponse

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
View raw schema
{
  "type": "object",
  "properties": {
    "options": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/snowbee.ecom.cart.SbPublicApiDeliveryOptionResponse"
      },
      "title": "List<SbPublicApiDeliveryOptionResponse>"
    }
  },
  "required": [
    "options"
  ],
  "title": "SbPublicApiDeliveryOptionsResponse"
}