Abandoned Carts Settings

Abandoned carts settings

Update global abandoned cart settings

PUT /abandoned-carts/settings

Request

Update the global abandoned cart settings of a store.

Authentication

  • X-Auth-Token in header

Parameters

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

Body

object | application/json
Represents all settings related to the abandoned cart functionality of a store
  • enable_notification
    boolean

    Indicates whether or not abandoned cart notification is on
  • merchant_email_address
    string
    required

    The email address for receiving merchant notifications
  • merchant_abandoned_cart_email_frequency_type
    string
    required

    Indicates whether to send an email for every abandoned cart, or to send a digest email after X number of abandoned carts

    Allowed: digest | individual

  • merchant_abandoned_cart_digest_email_frequency
    integer
    required

    The number of abandoned carts to accumulate before a digest email is sent to a merchant
    Min: 2
    Max: 1000

example

Response

OK

Body

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

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

    Response metadata

example

Get channel abandoned cart settings

GET /abandoned-carts/settings/channels/{channel_id}

Request

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

Authentication

  • X-Auth-Token in header

Parameters

  • store_hash in path - string
  • channel_id in path - integer
    required
    The channel ID of the settings overrides

example

Response

OK

Body

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

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

    Response metadata

example

Update channel abandoned cart settings

PUT /abandoned-carts/settings/channels/{channel_id}

Request

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

OAuth Scopes

UI NamePermissionParameter
Information & Settingsmodifystore_v2_information

Authentication

  • X-Auth-Token in header

Parameters

  • store_hash in path - string
  • Content-Type in header with default of application/json - string
    required
    The MIME type of the request body.
  • 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

Body

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

    Indicates whether or not abandoned cart notification is on. If it is null, it means there is no override for the specified channel.
  • merchant_email_address
    string or null

    The email address for receiving merchant notifications. If it is null, it means there is no override for the specified channel.
    >= 0 characters<= 500 characters
  • merchant_abandoned_cart_email_frequency_type
    string or null

    Indicates whether to send an email for every abandoned cart or to send a digest email after X number of abandoned carts. If it is null, it means there is no override for the specified channel.

    Allowed: digest | individual

  • merchant_abandoned_cart_digest_email_frequency
    integer or null

    The number of abandoned carts to accumulate before a digest email is sent to a merchant. If it is null, it means there is no override for the specified channel.
    Min: 2
    Max: 1000

example

Response

OK

Body

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

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

    Response metadata

example

Did you find what you were looking for?