Settings

Get Global Cart Settings

GET /carts/settings

Request

Returns the global cart settings of a store.

OAuth scopes

UI NamePermissionParameter
Information & Settingsmodifystore_v2_information
Information & Settingsread-onlystore_v2_information

Authentication

  • X-Auth-Token in header

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

object | application/json
The response object of cart settings at the global level.
  • data
    object

    Represents all settings related to the shopping cart functionality of a store.
  • meta
    object

    Response metadata.

example

Update Global Cart Settings

PUT /carts/settings

Request

Update the global cart settings of a store. Authentication

OAuth scopes

UI NamePermissionParameter
Information & Settingsmodifystore_v2_information
Information & Settingsread-onlystore_v2_information

Authentication

  • X-Auth-Token in header

Parameters

  • store_hash in path - string
  • Accept in header with default of application/json - string
    required
    The MIME type of the response body.
  • Content-Type in header with default of application/json - string
    required

Body

object | application/json
Represents all settings related to the shopping cart functionality of a store.
  • allow_purchasing
    boolean
    required

example

Response

OK

Body

object | application/json
The response object of cart settings at the global level.
  • data
    object

    Represents all settings related to the shopping cart functionality of a store.
  • meta
    object

    Response metadata.

example

Get Channel Cart Settings

GET /carts/settings/channels/{channel_id}

Request

Returns the per-channel overrides for the cart settings of a store.

OAuth scopes

UI NamePermissionParameter
Information & Settingsmodifystore_v2_information
Information & Settingsread-onlystore_v2_information

Authentication

  • X-Auth-Token in header

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.

    OAuth scopes

    UI NamePermissionParameter
    Information & Settingsmodifystore_v2_information
    Information & Settingsread-onlystore_v2_information

example

Response

OK

Body

object | application/json
The response object of cart settings overrides for a channel.
  • data
    object

    Represents all settings overrides related to the shopping cart functionality of a store for a channel.
  • meta
    object

    Response metadata.

example

Update Channel Cart Settings

PUT /carts/settings/channels/{channel_id}

Request

Update the per-channel overrides for the cart settings of a store.

OAuth scopes

UI NamePermissionParameter
Information & Settingsmodifystore_v2_information
Information & Settingsread-onlystore_v2_information

Authentication

  • X-Auth-Token in header

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.

    OAuth scopes

    UI NamePermissionParameter
    Information & Settingsmodifystore_v2_information
    Information & Settingsread-onlystore_v2_information
  • Content-Type in header with default of application/json - string
    required

Body

object | application/json
Represents all settings overrides related to the shopping cart functionality of a store for a channel.
  • allow_purchasing
    boolean or null

example

Response

OK

Body

object | application/json
The response object of cart settings overrides for a channel.
  • data
    object

    Represents all settings overrides related to the shopping cart functionality of a store for a channel.
  • meta
    object

    Response metadata.

example

Did you find what you were looking for?