Get Cart Settings
GET/v2/settings/cart
Retrieves cart settings
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
data object
type stringrequired
Describes the type of request payload you’re sending. Set this value to settings
.
cart_expiry_days integer
Indicates the number of days before a cart expires.
discounts object
custom_discounts_enabled boolean
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.
{
"data": {
"type": "settings",
"cart_expiry_days": 25,
"discounts": {
"custom_discounts_enabled": false
}
}
}
Loading...