Carts
Get Global Cart Settings
GET /stores/{store_hash}/v3/carts/settings
Request
Returns the global cart settings of a store.
Authentication
- X-Auth-Token in header - required
Parameters
- store_hash in path - string
- Accept in header with default of application/json - string - required
The MIME type of the response body.
example
Response
OK
Body
The response object of cart settings at the global level.
dataobject
Represents all settings related to the shopping cart functionality of a store.
metaobject
Response metadata.
example
Update Global Cart Settings
PUT /stores/{store_hash}/v3/carts/settings
Request
Update the global cart settings of a store.
Authentication
- X-Auth-Token in header - required
Parameters
- store_hash in path - string
- Content-Type in header with default of application/json - string - required
Body
allow_purchasingboolean
example
Response
OK
Body
The response object of cart settings at the global level.
dataobject
Represents all settings related to the shopping cart functionality of a store.
metaobject
Response metadata.
example
Get Channel Cart Settings
GET /stores/{store_hash}/v3/carts/settings/channels/{channel_id}
Request
Returns the per-channel overrides for the cart settings of a store.
Authentication
- X-Auth-Token in header - required
Parameters
- store_hash in path - string
- Accept in header with default of application/json - string - required
The MIME type of the response body.
- channel_id in path - integer - required
The channel ID of the settings overrides.
example
Response
OK
Body
The response object of cart settings overrides for a channel.
dataobject
Represents all settings overrides related to the shopping cart functionality of a store for a channel.
metaobject
Response metadata.
example
Update Channel Cart Settings
PUT /stores/{store_hash}/v3/carts/settings/channels/{channel_id}
Request
Update the per-channel overrides for the cart settings of a store.
Authentication
- X-Auth-Token in header - required
Parameters
- store_hash in path - string
- channel_id in path - integer - required
The channel ID of the settings overrides.
- Content-Type in header with default of application/json - string - required
Body
allow_purchasingboolean
example
Response
OK
Body
The response object of cart settings overrides for a channel.
dataobject
Represents all settings overrides related to the shopping cart functionality of a store for a channel.
metaobject
Response metadata.