- API reference
- Checkout API
Update an order
https://api.kustom.co/checkout/v3/orders/{order_id}
To update an order simply provide a JSON object with the properties you want to update. Properties not provided in the request will stay the same.
Please note: an order can only be updated when the status is checkout_incomplete
No field here matches the current filters.
Unique order ID that will be used for the entire lifecycle of the order. (max 255 characters)
The merchant name (max 255 characters).
The purchase country of the merchant’s store. The format to be used is ISO 3166 alpha-2. Eg: GB, SE, DE, US, etc.
Note: purchase country and currency need to match the defined merchant configuration. For global configuration see more details here
The purchase currency of the merchant’s store. The format to be used is ISO 4217. Eg: USD, EUR, SEK, GBP, etc.
Note: purchase country and currency need to match the defined merchant configuration. For global configuration see more details here
Used to define the language and region of the customer. RFC 1766 customer’s locale.
The current status of the order. The status will be ‘incomplete’ until the customer has been successfully authorized.
18 fields in billing_address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
Reference of the buying organization, e.g. a purchase order number. Only applicable to the billing address of orders with customer.type=“organization”. Carries the same value as the legacy billing_address.attention field.
E-mail address.
Title.
Valid values for UK:
- Mr
- Ms
- Mrs
- Miss
Valid values for DACH:
- Herr
- Frau
Valid values for NL:
- Dhr.
- Mevr.
Street address, first line. (Street name and number)
Street address, second line. (Apartment number, suite, etc.)
Street name. Only applicable in DE/AT/NL. Do not combine with street_address. See streetNumber.
Street number. Only applicable in DE/AT/NL. Do not combine with street_address. See streetName.
House extension. Only applicable in NL
Postal/post code.
City.
State or Region.
Phone number.
ISO 3166 alpha-2. Country.
Care of.
Instruction for the delivery of the order, entered by the customer. Only applicable to the shipping address of orders with customer.type=“organization”. Carries the same value as the legacy shipping_address.care_of field.
Same shape as
billing_address— 18 fields, identical. Anchors under this path still resolve.18 fields in shipping_address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
Reference of the buying organization, e.g. a purchase order number. Only applicable to the billing address of orders with customer.type=“organization”. Carries the same value as the legacy billing_address.attention field.
E-mail address.
Title.
Valid values for UK:
- Mr
- Ms
- Mrs
- Miss
Valid values for DACH:
- Herr
- Frau
Valid values for NL:
- Dhr.
- Mevr.
Street address, first line. (Street name and number)
Street address, second line. (Apartment number, suite, etc.)
Street name. Only applicable in DE/AT/NL. Do not combine with street_address. See streetNumber.
Street number. Only applicable in DE/AT/NL. Do not combine with street_address. See streetName.
House extension. Only applicable in NL
Postal/post code.
City.
State or Region.
Phone number.
ISO 3166 alpha-2. Country.
Care of.
Instruction for the delivery of the order, entered by the customer. Only applicable to the shipping address of orders with customer.type=“organization”. Carries the same value as the legacy shipping_address.care_of field.
Total amount of the order including tax and any available discounts. The value should be in non-negative minor units.
Example: 25 Euros should be 2500.
Total tax amount of the order. The value should be in non-negative minor units.
Example: 25 Euros should be 2500.
An array containing list of line items that are part of this order. Maximum of 1000 line items could be processed in a single order.
36 fields in order_lines
Type of the order line item. The possible values are:
- physical (physical good)
- discount
- shipping_fee
- sales_tax (depends on the country/city, usually called VAT)
- digital (digital good)
- gift_card
- store_credit (credit from the merchant)
- surcharge (extra charge)
Article number, SKU or similar. (max 255 characters)
Descriptive name of the order line item (max 255 characters)
Non-negative number. Quantity of the order line item.
Describes the subscription. Including subscription details will also change the buy button to inform the user that they will be subscribing. (Only applicable for recurring orders)
Unit used to describe the quantity, e.g. kg, pcs… If defined has to be 1-8 characters
Minor units. Includes tax, excludes discount. (max value: 100000000).
Example: 100 Euros should be 10000.
Non-negative value. The percentage value is represented with two implicit decimals. (max 10000)
Example: 25% should be 2500.
Minor units. Includes tax and discount.
Example: 25 euros should be 2500 Value = (quantity x unit_price) - total_discount_amount. (max value: 100000000)
Non-negative minor units. Includes tax.
Example: 25 euros should be 2500
Must be within ±1 of total_amount - total_amount * 10000 / (10000 + tax_rate). Negative when type is discount.
Property used to store additional metadata per item that will be returned whenever an order is read from Kustom. Pass through field. (max 1024 characters).
URL to the product page that can be later embedded in communications between Kustom and the customer. (max 1024 characters)
URL to an image that can be later embedded in communications between Kustom and the customer. (max 1024 characters)
Improves post-purchase customer experiences.
6 fields in product_identifiers
The product’s brand name as generally recognized by consumers. If no brand is available for a product, do not supply any value.
Color to be shown to the end customer (max 64 characters).
The product’s category path as used in the merchant’s webshop. Include the full and most detailed category and separate the segments with ’ > ’. (max 750 characters)
Example: “Electronics Store > Computers & Tablets > Desktops”
The product’s Global Trade Item Number (GTIN). Common types of GTIN are EAN, ISBN or UPC. Exclude dashes and spaces, where possible
The product’s Manufacturer Part Number (MPN), which - together with the brand - uniquely identifies a product. Only submit MPNs assigned by a manufacturer and use the most specific MPN possible
Size to be shown to the end customer (max 64 characters).
11 fields in shipping_attributes
The product’s weight as used in the merchant’s webshop. Non-negative. Measured in grams.
3 fields in dimensions
The product’s height as used in the merchant’s webshop. Non-negative. Measured in millimeters.
The product’s width as used in the merchant’s webshop. Non-negative. Measured in millimeters.
The product’s length as used in the merchant’s webshop. Non-negative. Measured in millimeters.
Extra product information to display in the checkout, for example the selected colour or size.
The product’s extra features, example [“dangerous_goods”, “bulky”]
The ID of the delivery this item belongs to. The delivery ID must be defined in the
deliveriesarray of the order.
5 fields in customer
The default supported value is ‘person’. If B2B is enabled for the merchant, the value may be “organization”.
Customer’s gender - ‘male’ or ‘female’.
Customer’s date of birth. The format is ‘yyyy-mm-dd’. ISO 8601 date.
“The organization’s official registration id (organization number).
Note: Applicable only for B2B orders.”
Organization VAT ID. Only applies for b2b orders.
13 fields in merchant_urls
URL for the terms and conditions page of the merchant. The URL will be displayed inside the Kustom Checkout iFrame.(max 2000 characters) Example: “https://merchant.com/terms”
URL for the checkout page of the merchant. (max 2000 characters) Example: “https://merchant.com/checkout”
URL of the merchant confirmation page. The consumer will be redirected back to the confirmation page if the authorization is successful after the customer clicks on the ‘Place Order’ button inside checkout. The special characters of the confirmation URL should be encoded, e.g. the “space” character should be written as “%20”. Then, on top of that, the whole confirmation URL should be encoded. E.g. the “space” character should become “%2520”. (max 2000 characters) Example: “https://merchant.com/confirmation”
URL that will be used for push notification when an order is completed. Should be different than checkout and confirmation URLs. (max 2000 characters) Example: “https://merchant.com/push”
URL that will be requested for final merchant validation. (must be https, max 2000 characters) Example: “https://merchant.com/validation”
URL for notifications on pending orders. (max 2000 characters) Example: “https://merchant.com/notification/{checkout.order.id}”
URL for the cancellation terms page of the merchant. The URL will be displayed in the email that is sent to the customer after the order is captured.(max 2000 characters) Example: “https://merchant.com/terms/cancelation”
URL for shipping option update. (must be https, max 2000 characters) Example: “https://merchant.com/shippingoptionupdate”
URL for shipping, tax and purchase currency updates. Will be called on address changes. (must be https, max 2000 characters) Example: “https://merchant.com/addressupdate”
URL for shipping, tax and purchase currency updates. Will be called on billing or shipping country changes. (must be https, max 2000 characters) Example: “https://merchant.com/countrychange”
URL for upsell. Will be called on upsell. This must be enabled for the merchant to use. (must be https, max 2000 characters) Example: “https://merchant.com/upsell”
URL for upsell validation when a completed order is attempted to add upsell. Example: “https://merchant.com/upsell-validation”
URL for notification after order updated with upsell. (must be https, max 2000 characters) Example: “https://merchant.com/upsell/{checkout.order.id}”
The HTML snippet that is used to render the checkout in an iframe.
Used for storing merchant’s internal order number or other reference. If set, will be shown on the confirmation page as “order number” . The value is also available in the settlement files. (max 255 characters). Example: “45aa52f387871e3a210645d4”
Used for storing merchant’s internal order number or other reference. The value is available in the settlement files. (max 255 characters). Example: “45aa52f387871e3a210645d4”
ISO 8601 datetime. The date and time when the order has been created. The format will be as follows: “yyyy-mm-ddThh:mm:ssZ”
ISO 8601 datetime. The date and time when the order has been completed. The format will be as follows: “yyyy-mm-ddThh:mm:ssZ”
ISO 8601 datetime. The date and time when the order was last modified. The format will be as follows: “yyyy-mm-ddThh:mm:ssZ”
39 fields in options
If true, validate callback must get a positive response to not stop purchase. Default: false.
Acquiring channel for the order. The possible values are:
- ECOMMERCE for "E-commerce"
- IN_STORE for "Purchase in boutique"
- Default : ECOMMERCE
If true, VAT is not displayed in Checkout’s Order Summary page.
If true, the buy button will show ‘Subscribe’ instead of ‘Buy’ to indicate a subscription purchase
If true, the consumer can enter different billing and shipping addresses. Default: false, except for purchase_country DE where default is: true
Color for the buttons within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
Color for the text inside the buttons within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
Color for the checkboxes within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
Color for the checkboxes checkmark within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
Color for the headers within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
Color for the hyperlinks within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
Color for the background within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
If true, the consumer cannot skip date of birth. Default: false
If true, the consumer are able to enter date of birth, but can skip it. Default: false
A message that will be presented on the confirmation page under the headline “Delivery” (max 255 characters).
If specified to false, title becomes optional. Only available for orders for country GB.
3 fields in additional_checkbox
Text that will be displayed to the consumer aside the checkbox. Links and formatting can be added using Markdown. (max 1000 characters)
Default state of the additional checkbox. It will use this value when loaded for the first time.
Whether it is required for the consumer to check the additional checkbox box or not in order to complete the purchase.
If true, the user cannot skip national identification number in SE, NO, FI and DK. Default: false. In order to read the national identification number in the validation callback, please contact Kustom’s merchant support.
Additional merchant defined field. e.g. Extra terms and conditions to show.
Example: “ADDITIONAL MERCHANT TERMS! [terms link](https://merchant.com/extra_terms)”
If false, the consumer can skip the phone. Only available for orders in DACH countries.
Radius for the border of elements within the iFrame.
A list of allowed customer types. Supported types: person & organization. Example: [“person”,“organization”]
If true, the Order Detail subtotals view is expanded when the Kustom Checkout iFrame is loaded. Default: false
4 fields in additional_checkboxes
Text that will be displayed to the consumer aside the checkbox. Links and formatting can be added using Markdown. (max 1000 characters)
Default state of the additional checkbox. It will use this value when loaded for the first time.
Whether it is required for the consumer to check the additional checkbox box or not in order to complete the purchase.
Identifier used when presenting data back to merchant
Enable verification of National Identification Numbers only in Sweden and Norway. This option also make the national identification number mandatory. (Not applicable for countries outside of Sweden and Norway)
Allow merchant to trigger auto capturing.
If true, a client side validation is needed to complete the purchase
If true, a optional VAT registration number field will be shown in the address form. Only applies for b2b orders.
If true, upsell recommendations will be presented on the order confirmation page.
If true, front end analytics are enabled at checkout. Default: false
2 fields in attachment
The content of the extra merchant data which should be presented as a string inside this property. The body should be an object containing any of the keys and sub objects described below serialised to JSON. More information on that object can be found here.
The content type of the body. It is usually represented as “application/vnd.klarna.internal.emd-v2+json”
List of external payment methods that will be displayed as part of payment methods in the checkout.
7 fields in external_payment_methods
The name of the payment provider. (max 255 characters)
Minor units. Includes tax.
Short description of the payment method. This is displayed below the selected payment method. (max 500 characters)
If specified, limits the method to the listed countries (alpha 2 codes).
Controls label of buy button
- continue
- complete
URL to redirect to. (must be https, min 7, max 2000 characters)
URL to an image to display. (must be https, max 2000 characters)
List of external checkouts that will be displayed as part of payment methods in the checkout. The image_url is required, and the image size has to be 276x48px
Same shape as
external_payment_methods— 7 fields, identical. Anchors under this path still resolve.7 fields in external_checkouts
The name of the payment provider. (max 255 characters)
Minor units. Includes tax.
Short description of the payment method. This is displayed below the selected payment method. (max 500 characters)
If specified, limits the method to the listed countries (alpha 2 codes).
Controls label of buy button
- continue
- complete
URL to redirect to. (must be https, min 7, max 2000 characters)
URL to an image to display. (must be https, max 2000 characters)
List of allowed shipping countries for this order in ISO-3166 alpha-2 format.
If specified, the customer will be able to change the shipping country in the checkout and you will be notified through ‘address_update’ callback or the ‘shipping_address_change’ javascript event.
If not specified then the default value will be the purchase country.
Example: look at billing_countries example.
A list of shipping options available for this order.
54 fields in shipping_options
The unique identifier of the shipping option
Name.
Description.
Promotion name. To be used if this shipping option is promotional.
Price including tax.
If true, this option will be preselected when checkout loads. Default: false
Tax amount.
Non-negative. In percent, two implicit decimals. I.e 2500 = 25%.
Shipping method. Possible values:
- PickUpStore
- Home
- BoxReg
- BoxUnreg
- PickUpPoint
- Own
- Postal
- DHLPackstation
- Digital
35 fields in delivery_details
Carrier product name
Type of shipping class
6 fields in product
Carrier product name
Carrier product identifier
The external identifier of the carrier
The product or service level name provided by the carrier
Carrier-specific metadata
21 fields in pickup_location
Id
Name of the location
18 fields in address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
Reference of the buying organization, e.g. a purchase order number. Only applicable to the billing address of orders with customer.type=“organization”. Carries the same value as the legacy billing_address.attention field.
E-mail address.
Title.
Valid values for UK:
- Mr
- Ms
- Mrs
- Miss
Valid values for DACH:
- Herr
- Frau
Valid values for NL:
- Dhr.
- Mevr.
Street address, first line. (Street name and number)
Street address, second line. (Apartment number, suite, etc.)
Street name. Only applicable in DE/AT/NL. Do not combine with street_address. See streetNumber.
Street number. Only applicable in DE/AT/NL. Do not combine with street_address. See streetName.
House extension. Only applicable in NL
Postal/post code.
City.
State or Region.
Phone number.
ISO 3166 alpha-2. Country.
Care of.
Instruction for the delivery of the order, entered by the customer. Only applicable to the shipping address of orders with customer.type=“organization”. Carries the same value as the legacy shipping_address.care_of field.
TMS reference. Required to map completed orders to shipments reserved in TMS.
TOS ID. Required to map completed orders to shipments reserved via Ingrid.
The external identifier defined on the TMS (Only applicable for Ingrid-Headless)
Pass through field to send any information about the order to be used later for reference while retrieving the order details (max 6000 characters).
Same shape as
shipping_options— 54 fields, identical. Anchors under this path still resolve.54 fields in selected_shipping_option
The unique identifier of the shipping option
Name.
Description.
Promotion name. To be used if this shipping option is promotional.
Price including tax.
If true, this option will be preselected when checkout loads. Default: false
Tax amount.
Non-negative. In percent, two implicit decimals. I.e 2500 = 25%.
Shipping method. Possible values:
- PickUpStore
- Home
- BoxReg
- BoxUnreg
- PickUpPoint
- Own
- Postal
- DHLPackstation
- Digital
35 fields in delivery_details
Carrier product name
Type of shipping class
6 fields in product
Carrier product name
Carrier product identifier
The external identifier of the carrier
The product or service level name provided by the carrier
Carrier-specific metadata
21 fields in pickup_location
Id
Name of the location
18 fields in address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
Reference of the buying organization, e.g. a purchase order number. Only applicable to the billing address of orders with customer.type=“organization”. Carries the same value as the legacy billing_address.attention field.
E-mail address.
Title.
Valid values for UK:
- Mr
- Ms
- Mrs
- Miss
Valid values for DACH:
- Herr
- Frau
Valid values for NL:
- Dhr.
- Mevr.
Street address, first line. (Street name and number)
Street address, second line. (Apartment number, suite, etc.)
Street name. Only applicable in DE/AT/NL. Do not combine with street_address. See streetNumber.
Street number. Only applicable in DE/AT/NL. Do not combine with street_address. See streetName.
House extension. Only applicable in NL
Postal/post code.
City.
State or Region.
Phone number.
ISO 3166 alpha-2. Country.
Care of.
Instruction for the delivery of the order, entered by the customer. Only applicable to the shipping address of orders with customer.type=“organization”. Carries the same value as the legacy shipping_address.care_of field.
TMS reference. Required to map completed orders to shipments reserved in TMS.
TOS ID. Required to map completed orders to shipments reserved via Ingrid.
The external identifier defined on the TMS (Only applicable for Ingrid-Headless)
Same shape as
shipping_options— 54 fields, identical. Anchors under this path still resolve.54 fields in selected_shipping_options
The unique identifier of the shipping option
Name.
Description.
Promotion name. To be used if this shipping option is promotional.
Price including tax.
If true, this option will be preselected when checkout loads. Default: false
Tax amount.
Non-negative. In percent, two implicit decimals. I.e 2500 = 25%.
Shipping method. Possible values:
- PickUpStore
- Home
- BoxReg
- BoxUnreg
- PickUpPoint
- Own
- Postal
- DHLPackstation
- Digital
35 fields in delivery_details
Carrier product name
Type of shipping class
6 fields in product
Carrier product name
Carrier product identifier
The external identifier of the carrier
The product or service level name provided by the carrier
Carrier-specific metadata
21 fields in pickup_location
Id
Name of the location
18 fields in address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
Reference of the buying organization, e.g. a purchase order number. Only applicable to the billing address of orders with customer.type=“organization”. Carries the same value as the legacy billing_address.attention field.
E-mail address.
Title.
Valid values for UK:
- Mr
- Ms
- Mrs
- Miss
Valid values for DACH:
- Herr
- Frau
Valid values for NL:
- Dhr.
- Mevr.
Street address, first line. (Street name and number)
Street address, second line. (Apartment number, suite, etc.)
Street name. Only applicable in DE/AT/NL. Do not combine with street_address. See streetNumber.
Street number. Only applicable in DE/AT/NL. Do not combine with street_address. See streetName.
House extension. Only applicable in NL
Postal/post code.
City.
State or Region.
Phone number.
ISO 3166 alpha-2. Country.
Care of.
Instruction for the delivery of the order, entered by the customer. Only applicable to the shipping address of orders with customer.type=“organization”. Carries the same value as the legacy shipping_address.care_of field.
TMS reference. Required to map completed orders to shipments reserved in TMS.
TOS ID. Required to map completed orders to shipments reserved via Ingrid.
The external identifier defined on the TMS (Only applicable for Ingrid-Headless)
Indicates whether this purchase will create a token that can be used by the merchant to create recurring purchases. This must be enabled for the merchant to use. Default: false
Depending on specified country, recurring could be used for the following payment methods: Klarna Pay Later, Direct Debit, Card, Apple Pay, Google Pay.
Token to be used when creating recurring orders.
Description to be added to the recurring order.
List of allowed billing countries for this order. If specified, the customer will be able to change the billing country in the checkout and you will be notified through ‘country_change’ callback or the ‘billing_address_change’ javascript event. If not specified but shipping_countries is specified, will use same values as shipping_countries. If not specified and shipping_countries is not specified, then the default value will be the purchase country.
Example: [“AD”, “AE”, “AG”, “AI”, “AL”, “AM”, “AQ”, “AR”, “AS”, “AT”, “AU”, “AW”, “AX”, “AZ”, “BA”, “BB”, “BD”, “BE”, “BF”, “BG”, “BH”, “BJ”, “BL”, “BM”, “BN”, “BO”, “BQ”, “BR”, “BS”, “BT”, “BW”, “BY”, “BZ”, “CA”, “CF”, “CH”, “CI”, “CK”, “CL”, “CM”, “CN”, “CO”, “CR”, “CU”, “CV”, “CW”, “CX”, “CY”, “CZ”, “DE”, “DJ”, “DK”, “DM”, “DO”, “DZ”, “EC”, “EE”, “EG”, “ER”, “ES”, “ET”, “FI”, “FJ”, “FK”, “FM”, “FO”, “FR”, “GA”, “GB”, “GD”, “GE”, “GF”, “GG”, “GH”, “GI”, “GL”, “GM”, “GN”, “GP”, “GR”, “GS”, “GT”, “GU”, “GY”, “HK”, “HN”, “HR”, “HU”, “ID”, “IE”, “IL”, “IM”, “IN”, “IS”, “IT”, “JE”, “JM”, “JO”, “JP”, “KE”, “KG”, “KI”, “KM”, “KN”, “KR”, “KW”, “KY”, “KZ”, “LA”, “LA”, “LB”, “LC”, “LI”, “LK”, “LR”, “LS”, “LT”, “LU”, “LV”, “MA”, “MC”, “MD”, “ME”, “MF”, “MG”, “MH”, “MK”, “MK”, “ML”, “MM”, “MN”, “MO”, “MP”, “MQ”, “MR”, “MT”, “MU”, “MV”, “MW”, “MX”, “MY”, “MZ”, “NA”, “NC”, “NE”, “NF”, “NG”, “NI”, “NL”, “NO”, “NP”, “NR”, “NU”, “NZ”, “OM”, “PA”, “PE”, “PF”, “PG”, “PH”, “PK”, “PL”, “PM”, “PR”, “PS”, “PT”, “PW”, “PY”, “QA”, “RE”, “RO”, “RS”, “RU”, “RW”, “SA”, “SB”, “SC”, “SE”, “SG”, “SH”, “SI”, “SJ”, “SK”, “SL”, “SM”, “SN”, “SR”, “ST”, “SV”, “SX”, “SZ”, “TC”, “TF”, “TG”, “TH”, “TJ”, “TK”, “TL”, “TO”, “TR”, “TT”, “TV”, “TW”, “TZ”, “UA”, “UG”, “UM”, “US”, “UY”, “UZ”, “VA”, “VC”, “VG”, “VI”, “VN”, “VU”, “WF”, “WS”, “XK”, “YT”, “ZA”, “ZM”, “ZW”]”
Extra information added to the order.
Example: [“dangerous_goods”, “bulky”]
No field here matches the current filters.
successful operation
Unique order ID that will be used for the entire lifecycle of the order. (max 255 characters)
The merchant name (max 255 characters).
The purchase country of the merchant’s store. The format to be used is ISO 3166 alpha-2. Eg: GB, SE, DE, US, etc.
Note: purchase country and currency need to match the defined merchant configuration. For global configuration see more details here
The purchase currency of the merchant’s store. The format to be used is ISO 4217. Eg: USD, EUR, SEK, GBP, etc.
Note: purchase country and currency need to match the defined merchant configuration. For global configuration see more details here
Used to define the language and region of the customer. RFC 1766 customer’s locale.
The current status of the order. The status will be ‘incomplete’ until the customer has been successfully authorized.
18 fields in billing_address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
Reference of the buying organization, e.g. a purchase order number. Only applicable to the billing address of orders with customer.type=“organization”. Carries the same value as the legacy billing_address.attention field.
E-mail address.
Title.
Valid values for UK:
- Mr
- Ms
- Mrs
- Miss
Valid values for DACH:
- Herr
- Frau
Valid values for NL:
- Dhr.
- Mevr.
Street address, first line. (Street name and number)
Street address, second line. (Apartment number, suite, etc.)
Street name. Only applicable in DE/AT/NL. Do not combine with street_address. See streetNumber.
Street number. Only applicable in DE/AT/NL. Do not combine with street_address. See streetName.
House extension. Only applicable in NL
Postal/post code.
City.
State or Region.
Phone number.
ISO 3166 alpha-2. Country.
Care of.
Instruction for the delivery of the order, entered by the customer. Only applicable to the shipping address of orders with customer.type=“organization”. Carries the same value as the legacy shipping_address.care_of field.
Same shape as
billing_address— 18 fields, identical. Anchors under this path still resolve.18 fields in shipping_address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
Reference of the buying organization, e.g. a purchase order number. Only applicable to the billing address of orders with customer.type=“organization”. Carries the same value as the legacy billing_address.attention field.
E-mail address.
Title.
Valid values for UK:
- Mr
- Ms
- Mrs
- Miss
Valid values for DACH:
- Herr
- Frau
Valid values for NL:
- Dhr.
- Mevr.
Street address, first line. (Street name and number)
Street address, second line. (Apartment number, suite, etc.)
Street name. Only applicable in DE/AT/NL. Do not combine with street_address. See streetNumber.
Street number. Only applicable in DE/AT/NL. Do not combine with street_address. See streetName.
House extension. Only applicable in NL
Postal/post code.
City.
State or Region.
Phone number.
ISO 3166 alpha-2. Country.
Care of.
Instruction for the delivery of the order, entered by the customer. Only applicable to the shipping address of orders with customer.type=“organization”. Carries the same value as the legacy shipping_address.care_of field.
Total amount of the order including tax and any available discounts. The value should be in non-negative minor units.
Example: 25 Euros should be 2500.
Total tax amount of the order. The value should be in non-negative minor units.
Example: 25 Euros should be 2500.
An array containing list of line items that are part of this order. Maximum of 1000 line items could be processed in a single order.
36 fields in order_lines
Type of the order line item. The possible values are:
- physical (physical good)
- discount
- shipping_fee
- sales_tax (depends on the country/city, usually called VAT)
- digital (digital good)
- gift_card
- store_credit (credit from the merchant)
- surcharge (extra charge)
Article number, SKU or similar. (max 255 characters)
Descriptive name of the order line item (max 255 characters)
Non-negative number. Quantity of the order line item.
Describes the subscription. Including subscription details will also change the buy button to inform the user that they will be subscribing. (Only applicable for recurring orders)
Unit used to describe the quantity, e.g. kg, pcs… If defined has to be 1-8 characters
Minor units. Includes tax, excludes discount. (max value: 100000000).
Example: 100 Euros should be 10000.
Non-negative value. The percentage value is represented with two implicit decimals. (max 10000)
Example: 25% should be 2500.
Minor units. Includes tax and discount.
Example: 25 euros should be 2500 Value = (quantity x unit_price) - total_discount_amount. (max value: 100000000)
Non-negative minor units. Includes tax.
Example: 25 euros should be 2500
Must be within ±1 of total_amount - total_amount * 10000 / (10000 + tax_rate). Negative when type is discount.
Property used to store additional metadata per item that will be returned whenever an order is read from Kustom. Pass through field. (max 1024 characters).
URL to the product page that can be later embedded in communications between Kustom and the customer. (max 1024 characters)
URL to an image that can be later embedded in communications between Kustom and the customer. (max 1024 characters)
Improves post-purchase customer experiences.
6 fields in product_identifiers
The product’s brand name as generally recognized by consumers. If no brand is available for a product, do not supply any value.
Color to be shown to the end customer (max 64 characters).
The product’s category path as used in the merchant’s webshop. Include the full and most detailed category and separate the segments with ’ > ’. (max 750 characters)
Example: “Electronics Store > Computers & Tablets > Desktops”
The product’s Global Trade Item Number (GTIN). Common types of GTIN are EAN, ISBN or UPC. Exclude dashes and spaces, where possible
The product’s Manufacturer Part Number (MPN), which - together with the brand - uniquely identifies a product. Only submit MPNs assigned by a manufacturer and use the most specific MPN possible
Size to be shown to the end customer (max 64 characters).
11 fields in shipping_attributes
The product’s weight as used in the merchant’s webshop. Non-negative. Measured in grams.
3 fields in dimensions
The product’s height as used in the merchant’s webshop. Non-negative. Measured in millimeters.
The product’s width as used in the merchant’s webshop. Non-negative. Measured in millimeters.
The product’s length as used in the merchant’s webshop. Non-negative. Measured in millimeters.
Extra product information to display in the checkout, for example the selected colour or size.
The product’s extra features, example [“dangerous_goods”, “bulky”]
The ID of the delivery this item belongs to. The delivery ID must be defined in the
deliveriesarray of the order.
5 fields in customer
The default supported value is ‘person’. If B2B is enabled for the merchant, the value may be “organization”.
Customer’s gender - ‘male’ or ‘female’.
Customer’s date of birth. The format is ‘yyyy-mm-dd’. ISO 8601 date.
“The organization’s official registration id (organization number).
Note: Applicable only for B2B orders.”
Organization VAT ID. Only applies for b2b orders.
13 fields in merchant_urls
URL for the terms and conditions page of the merchant. The URL will be displayed inside the Kustom Checkout iFrame.(max 2000 characters) Example: “https://merchant.com/terms”
URL for the checkout page of the merchant. (max 2000 characters) Example: “https://merchant.com/checkout”
URL of the merchant confirmation page. The consumer will be redirected back to the confirmation page if the authorization is successful after the customer clicks on the ‘Place Order’ button inside checkout. The special characters of the confirmation URL should be encoded, e.g. the “space” character should be written as “%20”. Then, on top of that, the whole confirmation URL should be encoded. E.g. the “space” character should become “%2520”. (max 2000 characters) Example: “https://merchant.com/confirmation”
URL that will be used for push notification when an order is completed. Should be different than checkout and confirmation URLs. (max 2000 characters) Example: “https://merchant.com/push”
URL that will be requested for final merchant validation. (must be https, max 2000 characters) Example: “https://merchant.com/validation”
URL for notifications on pending orders. (max 2000 characters) Example: “https://merchant.com/notification/{checkout.order.id}”
URL for the cancellation terms page of the merchant. The URL will be displayed in the email that is sent to the customer after the order is captured.(max 2000 characters) Example: “https://merchant.com/terms/cancelation”
URL for shipping option update. (must be https, max 2000 characters) Example: “https://merchant.com/shippingoptionupdate”
URL for shipping, tax and purchase currency updates. Will be called on address changes. (must be https, max 2000 characters) Example: “https://merchant.com/addressupdate”
URL for shipping, tax and purchase currency updates. Will be called on billing or shipping country changes. (must be https, max 2000 characters) Example: “https://merchant.com/countrychange”
URL for upsell. Will be called on upsell. This must be enabled for the merchant to use. (must be https, max 2000 characters) Example: “https://merchant.com/upsell”
URL for upsell validation when a completed order is attempted to add upsell. Example: “https://merchant.com/upsell-validation”
URL for notification after order updated with upsell. (must be https, max 2000 characters) Example: “https://merchant.com/upsell/{checkout.order.id}”
The HTML snippet that is used to render the checkout in an iframe.
Used for storing merchant’s internal order number or other reference. If set, will be shown on the confirmation page as “order number” . The value is also available in the settlement files. (max 255 characters). Example: “45aa52f387871e3a210645d4”
Used for storing merchant’s internal order number or other reference. The value is available in the settlement files. (max 255 characters). Example: “45aa52f387871e3a210645d4”
ISO 8601 datetime. The date and time when the order has been created. The format will be as follows: “yyyy-mm-ddThh:mm:ssZ”
ISO 8601 datetime. The date and time when the order has been completed. The format will be as follows: “yyyy-mm-ddThh:mm:ssZ”
ISO 8601 datetime. The date and time when the order was last modified. The format will be as follows: “yyyy-mm-ddThh:mm:ssZ”
39 fields in options
If true, validate callback must get a positive response to not stop purchase. Default: false.
Acquiring channel for the order. The possible values are:
- ECOMMERCE for "E-commerce"
- IN_STORE for "Purchase in boutique"
- Default : ECOMMERCE
If true, VAT is not displayed in Checkout’s Order Summary page.
If true, the buy button will show ‘Subscribe’ instead of ‘Buy’ to indicate a subscription purchase
If true, the consumer can enter different billing and shipping addresses. Default: false, except for purchase_country DE where default is: true
Color for the buttons within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
Color for the text inside the buttons within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
Color for the checkboxes within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
Color for the checkboxes checkmark within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
Color for the headers within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
Color for the hyperlinks within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
Color for the background within the iFrame. Value should be a CSS hex color, e.g. “#FF9900”
If true, the consumer cannot skip date of birth. Default: false
If true, the consumer are able to enter date of birth, but can skip it. Default: false
A message that will be presented on the confirmation page under the headline “Delivery” (max 255 characters).
If specified to false, title becomes optional. Only available for orders for country GB.
3 fields in additional_checkbox
Text that will be displayed to the consumer aside the checkbox. Links and formatting can be added using Markdown. (max 1000 characters)
Default state of the additional checkbox. It will use this value when loaded for the first time.
Whether it is required for the consumer to check the additional checkbox box or not in order to complete the purchase.
If true, the user cannot skip national identification number in SE, NO, FI and DK. Default: false. In order to read the national identification number in the validation callback, please contact Kustom’s merchant support.
Additional merchant defined field. e.g. Extra terms and conditions to show.
Example: “ADDITIONAL MERCHANT TERMS! [terms link](https://merchant.com/extra_terms)”
If false, the consumer can skip the phone. Only available for orders in DACH countries.
Radius for the border of elements within the iFrame.
A list of allowed customer types. Supported types: person & organization. Example: [“person”,“organization”]
If true, the Order Detail subtotals view is expanded when the Kustom Checkout iFrame is loaded. Default: false
4 fields in additional_checkboxes
Text that will be displayed to the consumer aside the checkbox. Links and formatting can be added using Markdown. (max 1000 characters)
Default state of the additional checkbox. It will use this value when loaded for the first time.
Whether it is required for the consumer to check the additional checkbox box or not in order to complete the purchase.
Identifier used when presenting data back to merchant
Enable verification of National Identification Numbers only in Sweden and Norway. This option also make the national identification number mandatory. (Not applicable for countries outside of Sweden and Norway)
Allow merchant to trigger auto capturing.
If true, a client side validation is needed to complete the purchase
If true, a optional VAT registration number field will be shown in the address form. Only applies for b2b orders.
If true, upsell recommendations will be presented on the order confirmation page.
If true, front end analytics are enabled at checkout. Default: false
2 fields in attachment
The content of the extra merchant data which should be presented as a string inside this property. The body should be an object containing any of the keys and sub objects described below serialised to JSON. More information on that object can be found here.
The content type of the body. It is usually represented as “application/vnd.klarna.internal.emd-v2+json”
List of external payment methods that will be displayed as part of payment methods in the checkout.
7 fields in external_payment_methods
The name of the payment provider. (max 255 characters)
Minor units. Includes tax.
Short description of the payment method. This is displayed below the selected payment method. (max 500 characters)
If specified, limits the method to the listed countries (alpha 2 codes).
Controls label of buy button
- continue
- complete
URL to redirect to. (must be https, min 7, max 2000 characters)
URL to an image to display. (must be https, max 2000 characters)
List of external checkouts that will be displayed as part of payment methods in the checkout. The image_url is required, and the image size has to be 276x48px
Same shape as
external_payment_methods— 7 fields, identical. Anchors under this path still resolve.7 fields in external_checkouts
The name of the payment provider. (max 255 characters)
Minor units. Includes tax.
Short description of the payment method. This is displayed below the selected payment method. (max 500 characters)
If specified, limits the method to the listed countries (alpha 2 codes).
Controls label of buy button
- continue
- complete
URL to redirect to. (must be https, min 7, max 2000 characters)
URL to an image to display. (must be https, max 2000 characters)
List of allowed shipping countries for this order in ISO-3166 alpha-2 format.
If specified, the customer will be able to change the shipping country in the checkout and you will be notified through ‘address_update’ callback or the ‘shipping_address_change’ javascript event.
If not specified then the default value will be the purchase country.
Example: look at billing_countries example.
A list of shipping options available for this order.
54 fields in shipping_options
The unique identifier of the shipping option
Name.
Description.
Promotion name. To be used if this shipping option is promotional.
Price including tax.
If true, this option will be preselected when checkout loads. Default: false
Tax amount.
Non-negative. In percent, two implicit decimals. I.e 2500 = 25%.
Shipping method. Possible values:
- PickUpStore
- Home
- BoxReg
- BoxUnreg
- PickUpPoint
- Own
- Postal
- DHLPackstation
- Digital
35 fields in delivery_details
Carrier product name
Type of shipping class
6 fields in product
Carrier product name
Carrier product identifier
The external identifier of the carrier
The product or service level name provided by the carrier
Carrier-specific metadata
21 fields in pickup_location
Id
Name of the location
18 fields in address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
Reference of the buying organization, e.g. a purchase order number. Only applicable to the billing address of orders with customer.type=“organization”. Carries the same value as the legacy billing_address.attention field.
E-mail address.
Title.
Valid values for UK:
- Mr
- Ms
- Mrs
- Miss
Valid values for DACH:
- Herr
- Frau
Valid values for NL:
- Dhr.
- Mevr.
Street address, first line. (Street name and number)
Street address, second line. (Apartment number, suite, etc.)
Street name. Only applicable in DE/AT/NL. Do not combine with street_address. See streetNumber.
Street number. Only applicable in DE/AT/NL. Do not combine with street_address. See streetName.
House extension. Only applicable in NL
Postal/post code.
City.
State or Region.
Phone number.
ISO 3166 alpha-2. Country.
Care of.
Instruction for the delivery of the order, entered by the customer. Only applicable to the shipping address of orders with customer.type=“organization”. Carries the same value as the legacy shipping_address.care_of field.
TMS reference. Required to map completed orders to shipments reserved in TMS.
TOS ID. Required to map completed orders to shipments reserved via Ingrid.
The external identifier defined on the TMS (Only applicable for Ingrid-Headless)
Pass through field to send any information about the order to be used later for reference while retrieving the order details (max 6000 characters).
Same shape as
shipping_options— 54 fields, identical. Anchors under this path still resolve.54 fields in selected_shipping_option
The unique identifier of the shipping option
Name.
Description.
Promotion name. To be used if this shipping option is promotional.
Price including tax.
If true, this option will be preselected when checkout loads. Default: false
Tax amount.
Non-negative. In percent, two implicit decimals. I.e 2500 = 25%.
Shipping method. Possible values:
- PickUpStore
- Home
- BoxReg
- BoxUnreg
- PickUpPoint
- Own
- Postal
- DHLPackstation
- Digital
35 fields in delivery_details
Carrier product name
Type of shipping class
6 fields in product
Carrier product name
Carrier product identifier
The external identifier of the carrier
The product or service level name provided by the carrier
Carrier-specific metadata
21 fields in pickup_location
Id
Name of the location
18 fields in address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
Reference of the buying organization, e.g. a purchase order number. Only applicable to the billing address of orders with customer.type=“organization”. Carries the same value as the legacy billing_address.attention field.
E-mail address.
Title.
Valid values for UK:
- Mr
- Ms
- Mrs
- Miss
Valid values for DACH:
- Herr
- Frau
Valid values for NL:
- Dhr.
- Mevr.
Street address, first line. (Street name and number)
Street address, second line. (Apartment number, suite, etc.)
Street name. Only applicable in DE/AT/NL. Do not combine with street_address. See streetNumber.
Street number. Only applicable in DE/AT/NL. Do not combine with street_address. See streetName.
House extension. Only applicable in NL
Postal/post code.
City.
State or Region.
Phone number.
ISO 3166 alpha-2. Country.
Care of.
Instruction for the delivery of the order, entered by the customer. Only applicable to the shipping address of orders with customer.type=“organization”. Carries the same value as the legacy shipping_address.care_of field.
TMS reference. Required to map completed orders to shipments reserved in TMS.
TOS ID. Required to map completed orders to shipments reserved via Ingrid.
The external identifier defined on the TMS (Only applicable for Ingrid-Headless)
Same shape as
shipping_options— 54 fields, identical. Anchors under this path still resolve.54 fields in selected_shipping_options
The unique identifier of the shipping option
Name.
Description.
Promotion name. To be used if this shipping option is promotional.
Price including tax.
If true, this option will be preselected when checkout loads. Default: false
Tax amount.
Non-negative. In percent, two implicit decimals. I.e 2500 = 25%.
Shipping method. Possible values:
- PickUpStore
- Home
- BoxReg
- BoxUnreg
- PickUpPoint
- Own
- Postal
- DHLPackstation
- Digital
35 fields in delivery_details
Carrier product name
Type of shipping class
6 fields in product
Carrier product name
Carrier product identifier
The external identifier of the carrier
The product or service level name provided by the carrier
Carrier-specific metadata
21 fields in pickup_location
Id
Name of the location
18 fields in address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
Reference of the buying organization, e.g. a purchase order number. Only applicable to the billing address of orders with customer.type=“organization”. Carries the same value as the legacy billing_address.attention field.
E-mail address.
Title.
Valid values for UK:
- Mr
- Ms
- Mrs
- Miss
Valid values for DACH:
- Herr
- Frau
Valid values for NL:
- Dhr.
- Mevr.
Street address, first line. (Street name and number)
Street address, second line. (Apartment number, suite, etc.)
Street name. Only applicable in DE/AT/NL. Do not combine with street_address. See streetNumber.
Street number. Only applicable in DE/AT/NL. Do not combine with street_address. See streetName.
House extension. Only applicable in NL
Postal/post code.
City.
State or Region.
Phone number.
ISO 3166 alpha-2. Country.
Care of.
Instruction for the delivery of the order, entered by the customer. Only applicable to the shipping address of orders with customer.type=“organization”. Carries the same value as the legacy shipping_address.care_of field.
TMS reference. Required to map completed orders to shipments reserved in TMS.
TOS ID. Required to map completed orders to shipments reserved via Ingrid.
The external identifier defined on the TMS (Only applicable for Ingrid-Headless)
Indicates whether this purchase will create a token that can be used by the merchant to create recurring purchases. This must be enabled for the merchant to use. Default: false
Depending on specified country, recurring could be used for the following payment methods: Klarna Pay Later, Direct Debit, Card, Apple Pay, Google Pay.
Token to be used when creating recurring orders.
Description to be added to the recurring order.
List of allowed billing countries for this order. If specified, the customer will be able to change the billing country in the checkout and you will be notified through ‘country_change’ callback or the ‘billing_address_change’ javascript event. If not specified but shipping_countries is specified, will use same values as shipping_countries. If not specified and shipping_countries is not specified, then the default value will be the purchase country.
Example: [“AD”, “AE”, “AG”, “AI”, “AL”, “AM”, “AQ”, “AR”, “AS”, “AT”, “AU”, “AW”, “AX”, “AZ”, “BA”, “BB”, “BD”, “BE”, “BF”, “BG”, “BH”, “BJ”, “BL”, “BM”, “BN”, “BO”, “BQ”, “BR”, “BS”, “BT”, “BW”, “BY”, “BZ”, “CA”, “CF”, “CH”, “CI”, “CK”, “CL”, “CM”, “CN”, “CO”, “CR”, “CU”, “CV”, “CW”, “CX”, “CY”, “CZ”, “DE”, “DJ”, “DK”, “DM”, “DO”, “DZ”, “EC”, “EE”, “EG”, “ER”, “ES”, “ET”, “FI”, “FJ”, “FK”, “FM”, “FO”, “FR”, “GA”, “GB”, “GD”, “GE”, “GF”, “GG”, “GH”, “GI”, “GL”, “GM”, “GN”, “GP”, “GR”, “GS”, “GT”, “GU”, “GY”, “HK”, “HN”, “HR”, “HU”, “ID”, “IE”, “IL”, “IM”, “IN”, “IS”, “IT”, “JE”, “JM”, “JO”, “JP”, “KE”, “KG”, “KI”, “KM”, “KN”, “KR”, “KW”, “KY”, “KZ”, “LA”, “LA”, “LB”, “LC”, “LI”, “LK”, “LR”, “LS”, “LT”, “LU”, “LV”, “MA”, “MC”, “MD”, “ME”, “MF”, “MG”, “MH”, “MK”, “MK”, “ML”, “MM”, “MN”, “MO”, “MP”, “MQ”, “MR”, “MT”, “MU”, “MV”, “MW”, “MX”, “MY”, “MZ”, “NA”, “NC”, “NE”, “NF”, “NG”, “NI”, “NL”, “NO”, “NP”, “NR”, “NU”, “NZ”, “OM”, “PA”, “PE”, “PF”, “PG”, “PH”, “PK”, “PL”, “PM”, “PR”, “PS”, “PT”, “PW”, “PY”, “QA”, “RE”, “RO”, “RS”, “RU”, “RW”, “SA”, “SB”, “SC”, “SE”, “SG”, “SH”, “SI”, “SJ”, “SK”, “SL”, “SM”, “SN”, “SR”, “ST”, “SV”, “SX”, “SZ”, “TC”, “TF”, “TG”, “TH”, “TJ”, “TK”, “TL”, “TO”, “TR”, “TT”, “TV”, “TW”, “TZ”, “UA”, “UG”, “UM”, “US”, “UY”, “UZ”, “VA”, “VC”, “VG”, “VI”, “VN”, “VU”, “WF”, “WS”, “XK”, “YT”, “ZA”, “ZM”, “ZW”]”
Extra information added to the order.
Example: [“dangerous_goods”, “bulky”]
No field here matches the current filters.
We were unable to update an order with the provided data. Some field constraint was violated.
No response body — this status returns headers only.
No field here matches the current filters.
You were not authorized to execute this operation.
No response body — this status returns headers only.
No field here matches the current filters.
You tried to modify a read only resource.
No response body — this status returns headers only.
No field here matches the current filters.
We did not find any order with given ID. You need to create a new order.
No response body — this status returns headers only.
No field here matches the current filters.
This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.