- API reference
- Checkout Callback API
Address update
https://api.kustom.co/merchant_urls.address_update
Will be called whenever the consumer changes billing or shipping address. The order will be updated according to the response received by Checkout.
Non-negative, minor units. Total total amount of the order, including tax and any discounts.
Non-negative, minor units. The total tax amount of the order.
The applicable order lines (max 1000)
32 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).
7 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.
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.
16 fields in billing_address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
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.
Same shape as
billing_address— 16 fields, identical. Anchors under this path still resolve.16 fields in shipping_address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
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.
52 fields in selected_shipping_option
id
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
33 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
19 fields in pickup_location
Id
Name of the location
16 fields in address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
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.
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)
ISO 4217 purchase currency.
Pass through field (max 6000 characters).
Used for storing merchant’s internal order number or other reference. If set, will be shown on the confirmation page as “order number” (max 255 characters).
Used for storing merchant’s internal order number or other reference (max 255 characters).
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.
RFC 1766 customer’s locale.
The product’s extra features, example [“dangerous_goods”, “bulky”]
The list of selected shipping options for each delivery (Only available for split-shipping)
Same shape as
selected_shipping_option— 52 fields, identical. Anchors under this path still resolve.52 fields in selected_shipping_options
id
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
33 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
19 fields in pickup_location
Id
Name of the location
16 fields in address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
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.
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)
No field here matches the current filters.
Address looks good. The order will be updated according to response data.
Non-negative, minor units. Total total amount of the order, including tax and any discounts.
Non-negative, minor units. The total tax amount of the order.
Pass through field (max 1024 characters).
The applicable order lines (max 1000)
32 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).
7 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.
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.
A list of shipping options available for this order.
52 fields in shipping_options
id
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
33 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
19 fields in pickup_location
Id
Name of the location
16 fields in address
Given name.
Family name.
Organization name. Only applicable for orders with customer.type=“organization”.
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.
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)
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”
ISO 4217 purchase currency.
RFC 1766 customer’s locale.
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)
Extra information added to the order.
Example: [“dangerous_goods”, “bulky”]
No field here matches the current filters.
Bad Address. Checkout will redirect the consumer to the page in Location header value.
No response body — this status returns headers only.
No field here matches the current filters.
Bad Address. Checkout will redirect the consumer to the page in Location header value.
No response body — this status returns headers only.
No field here matches the current filters.
Bad Address. Checkout will redirect the consumer to the page in Location header value.
No response body — this status returns headers only.
No field here matches the current filters.
Bad Address. Checkout will redirect the consumer to the page in Location header value.
No response body — this status returns headers only.
No field here matches the current filters.
Bad address. This type of response can be used to show an error text message to the consumer. The response body should include one of the following values in the error_type field: ‘address_error’, ‘unsupported_shipping_address’ or ‘approval_failed’. An ‘error_text’ field can also be included in the response (mandatory if error_type is ‘address_error’ or ‘approval_failed’). The error message will be shown to the consumer and he or she will be kept in the Checkout page.
Error type. Possible values: unsupported_shipping_address, address_error or approval_failed
Error text. Required if error_type is address_error or approval_failed
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.