Get Cart Settings
GET/v2/settings/cart
Retrieves cart settings
Responses
- 200
- 401
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
data object
Describes the type of request payload you’re sending. Set this value to settings
.
Indicates the number of days before a cart expires.
discounts object
When true
, custom discounts are enabled. Default is false. This setting only affects the new empty carts while the existing active carts will not be affected.
When set to true
, this parameter allows the cart to use rule promotions.
This optional parameter sets a reference date for the cart. If this parameter is set, it allows the cart to act as one that might occur on that specified date. For example, such future carts might acquire future-enabled discounts, allowing users to test and validate future interactions with carts. The snapshot_date must be in the format 2026-02-21T15:07:25Z
. By default, this parameter is left empty.
{
"data": {
"type": "settings",
"cart_expiry_days": 25,
"discounts": {
"custom_discounts_enabled": false,
"use_rule_promotions": false
},
"snapshot_date": "2026-02-21T15:07:25Z"
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- unauthorized-error
Schema
- Array [
- ]
errors Error[]required
A brief summary of the error.
The HTTP response code of the error.
Optional additional detail about the error.
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
{
"errors": [
{
"title": "Unauthorized",
"status": "401"
}
]
}
Internal server error.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
- Array [
- ]
errors Error[]required
A brief summary of the error.
The HTTP response code of the error.
Optional additional detail about the error.
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
{
"errors": [
{
"title": "Internal Server Error",
"status": "500",
"detail": "there was a problem processing your request"
}
]
}