SbPublicApiCartCheckoutRequest
snowbee.ecom.cart.SbPublicApiCartCheckoutRequest
Turn the cart into an order. The cart is re-quoted and its lines are handed to order intake priced, with the campaign each line was sold under; the cart id becomes the order's external id.
customerIdoptionalCustomer to place the order for; the store's default customer when omitted
deliveryAddressrequiredShow child fields
cityrequired- Example
"Oslo" countryIsoCoderequiredISO 3166-1 alpha-2 country code
Example"NO"emailoptionalContact email for delivery notifications
Example"ola.nordmann@example.com"namerequiredRecipient name
Example"Ola Nordmann"phoneoptionalContact phone for delivery
Example"+4790123456"postCoderequired- Example
"0123" streetrequiredStreet address including house number
Example"Storgata 1"
externalOrderNumberoptionalOrder number shown to the shopper by the storefront, if any
freightoptionalFreight as chosen and priced in the carrier's checkout UI: carrier codes, net amount and VAT rate. Omit for orders without freight.
Show child fields
carrierAgreementCoderequired- Example
"6838716034162098000" carrierCoderequired- Example
"porterbuddy" carrierNameoptional- Example
"Porterbuddy" carrierProductCoderequired- Example
"8747679326213767168" carrierProductNameoptional- Example
"Evening delivery" carrierProductPayloadoptionalProvider-specific extra data
Show child fields
partnerNameoptionalPartner name from provider
partnerNumberoptionalPartner number from provider
freightVatRateoptionalVAT rate for freight as a percentage
- Format: BigDecimal
Example"25.00"netFreightAmountoptionalNet freight/shipping cost amount (excl. VAT)
- Format: BigDecimal
Example"49.00"
invoiceAddressrequiredShow child fields
cityrequired- Example
"Oslo" countryIsoCoderequiredISO 3166-1 alpha-2 country code
Example"NO"emailrequiredEmail for invoice delivery
Example"ola.nordmann@example.com"namerequiredRecipient name
Example"Ola Nordmann"postCoderequired- Example
"0123" streetrequiredStreet address including house number
Example"Storgata 1"
paymentoptionalThe payment session the shopper completed. Required when the store takes web payments, rejected otherwise.
Show child fields
paymentIdrequiredpaymentId from POST /carts/{cartId}/payment_session
sessionResultrequiredsessionResult the Drop-in reported on completion
View raw schema
{
"type": "object",
"description": "Turn the cart into an order. The cart is re-quoted and its lines are handed to order intake priced, with the campaign each line was sold under; the cart id becomes the order's external id.",
"properties": {
"customerId": {
"type": [
"null",
"string"
],
"description": "Customer to place the order for; the store's default customer when omitted",
"title": "String"
},
"deliveryAddress": {
"$ref": "#/components/schemas/snowbee.SbPublicApiDeliveryAddressRequest"
},
"externalOrderNumber": {
"type": [
"null",
"string"
],
"description": "Order number shown to the shopper by the storefront, if any",
"title": "String"
},
"freight": {
"description": "Freight as chosen and priced in the carrier's checkout UI: carrier codes, net amount and VAT rate. Omit for orders without freight.",
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/snowbee.SbPublicApiFreightInfo"
}
]
},
"invoiceAddress": {
"$ref": "#/components/schemas/snowbee.SbPublicApiInvoiceAddressRequest"
},
"payment": {
"description": "The payment session the shopper completed. Required when the store takes web payments, rejected otherwise.",
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/snowbee.ecom.cart.SbPublicApiCartCheckoutPaymentRequest"
}
]
}
},
"required": [
"deliveryAddress",
"invoiceAddress"
],
"title": "SbPublicApiCartCheckoutRequest"
}