- API reference
- Checkout Callback API
Upsell recommendations
https://api.kustom.co/merchant_urls.upsell
Will be called when upsell recommendations are to be fetched on the confirmation page, to present upsell options for the consumer.
Specifies if upselling is possible for this order.
Non-negative, the maximum amount that can be upsold.
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.
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.
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.
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.
RFC 1766 customer’s locale.
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.
Upsell recommendations returned successfully.
ISO 8601 datetime. When the upsell window expires. The format will be as follows: “yyyy-mm-ddThh:mm:ssZ”
List of upsell lines that will be displayed.
47 fields in upsell_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. Default offered quantity of the upsell line item.
Description for the upsell item. (max 1024 characters)
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.
Non-negative number. Maximum allowed quantity of the upsell line items.
URL for the upsell feedback for the item. (max 1024 characters)
List of product variants available for this upsell item.
11 fields in variants
Key-value pairs describing variant attributes, e.g. {“color”: “red”, “size”: “M”}.
Brand name of the variant.
Category of the variant.
URL of the variant product image.
Display name of the variant.
URL of the variant product page.
Total price of the variant including tax in minor units.
Stock keeping unit identifier for this variant.
Total discount amount of the variant in minor units.
Unit price of the variant in minor units.
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)
URL for notifications on pending orders. (max 2000 characters) Example: “https://merchant.com/notification/{checkout.order.id}”
Signal no upsell without returning lines.
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.