Use Checkout settings to decide the smallest and largest merchandise subtotal, and the fewest and most items, a market accepts. The subtotal comparison uses merchandise after product and order discounts; the item limits count the total quantity of the order's items. Shipping, tax, duties, cash-on-delivery charges, checkout fees, payment discounts, store credit, and other payment methods are excluded. Both the minimum and maximum are inclusive. Read requests require read_markets; changes require write_markets.
Endpoints#
Get checkout limits
Read the live validation limits for checkout settings.
Use money_max when validating minimum and maximum merchandise subtotals. Amounts must be positive and exactly representable in the currency: for example, KRW allows no fractional digits, USD and IDR allow two, and KWD allows three. Trailing zeros are accepted. Display precision can differ from accepted amount precision. The response includes Checkout Fee limits because both settings areas share the Checkout tab.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. -
404NOT_FOUNDThe market does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get checkout settings
Read a market's minimum and maximum checkout rules.
The enabled value limits are compared with merchandise after product and order discounts. Shipping, tax, duties, cash-on-delivery charges, checkout fees, online-payment discounts, store credit, and other payment methods do not change this comparison. The enabled quantity limits are compared with the order's total merchandise quantity. Minimum and maximum boundaries are inclusive.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. -
404NOT_FOUNDThe market does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Update checkout settings
Set the discounted merchandise subtotal range and the item quantity range accepted by a market.
Send every toggle with its complete currency map or quantity. An enabled value limit requires a positive amount for every currency assigned to the market; an enabled quantity limit requires a whole number of at least 1. Disabled limits ignore and clear their amounts and quantities. When both value limits are enabled, the maximum must be greater than the minimum in every currency; when both quantity limits are enabled, the maximum must be at least the minimum. An unchanged request leaves timestamps untouched and publishes no event; a successful change publishes checkout_settings/update.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
min_order_enabled
required
|
boolean |
Whether checkout requires a minimum discounted merchandise subtotal. |
min_order_amounts
required
|
object |
Inclusive minimum subtotal keyed by every assigned market currency. Send an empty object when the limit is disabled. |
max_order_enabled
required
|
boolean |
Whether checkout enforces a maximum discounted merchandise subtotal. |
max_order_amounts
required
|
object |
Inclusive maximum subtotal keyed by every assigned market currency. Send an empty object when the limit is disabled. |
min_quantity_enabled
|
boolean |
Whether checkout requires a minimum total merchandise quantity (the sum of every line's quantity). Defaults to |
min_quantity
|
integer|null |
Inclusive minimum total merchandise quantity, at least 1. Required when |
max_quantity_enabled
|
boolean |
Whether checkout enforces a maximum total merchandise quantity. Defaults to |
max_quantity
|
integer|null |
Inclusive maximum total merchandise quantity, at least 1 and at least |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. The request body is not valid JSON. -
400CHECKOUT_AMOUNT_CURRENCY_REQUIREDAn enabled limit is missing an amount for one of the market's currencies.
-
400CHECKOUT_AMOUNT_CURRENCY_UNKNOWNAn amount uses a currency that is not assigned to this market.
-
400CHECKOUT_AMOUNT_POSITIVEAn enabled limit contains a zero or negative amount.
-
400CHECKOUT_AMOUNT_TOO_LARGEAn amount exceeds money_max from the limits endpoint, rounded down to the currency's decimal places (9999999999999999.99 for USD); the message gives the currency's maximum.
-
400CHECKOUT_AMOUNT_TOO_PRECISEAn amount has more decimal places than its currency supports.
-
400CHECKOUT_AMOUNT_INVALIDAn amount is not a decimal number; the message names the currency.
-
400CHECKOUT_ORDER_RANGE_INVALIDA maximum is not greater than the corresponding minimum.
-
400CHECKOUT_QUANTITY_INVALIDAn enabled quantity limit is missing or is not a whole number of at least 1.
-
400CHECKOUT_QUANTITY_RANGE_INVALIDmax_quantityis less thanmin_quantity. -
404NOT_FOUNDThe market does not exist in this store.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Webhook events#
Subscribe to checkout_settings/update when your app keeps a local copy of a market's checkout limits. The event contains the complete saved settings and currency amounts. Requests that make no effective change do not publish an event.
Checkout limits updated
Subscribe to receive the current minimum and maximum merchandise subtotal rules after checkout limits change for a market. Money maps contain exact decimal strings keyed by currency code, using currency amount precision (for example KWD 1.234, KRW 1234, USD 12.34). They never use General display separators or symbols.
Payload fields
| Field | Type | Description |
|---|---|---|
checkout_settings.id |
string |
Always present |
checkout_settings.market_id |
string |
Selectable in the Payload builder |
checkout_settings.min_order_enabled |
boolean |
Selectable in the Payload builder |
checkout_settings.min_order_amounts |
object |
Selectable in the Payload builder |
checkout_settings.max_order_enabled |
boolean |
Selectable in the Payload builder |
checkout_settings.max_order_amounts |
object |
Selectable in the Payload builder |
checkout_settings.min_quantity_enabled |
boolean |
Selectable in the Payload builder
Orders need at least min_quantity items (the total merchandise quantity). |
checkout_settings.min_quantity |
integer | null |
Selectable in the Payload builder
Inclusive minimum total merchandise quantity; null when min_quantity_enabled is false. |
checkout_settings.max_quantity_enabled |
boolean |
Selectable in the Payload builder
Orders can have at most max_quantity items (the total merchandise quantity). |
checkout_settings.max_quantity |
integer | null |
Selectable in the Payload builder
Inclusive maximum total merchandise quantity; null when max_quantity_enabled is false. |
checkout_settings.created_at |
string |
Selectable in the Payload builder |
checkout_settings.updated_at |
string |
Selectable in the Payload builder |