openapi: 3.0.0 info: title: BigCommerce Abandoned Cart Emails Abandoned Cart Settings API version: 3.0.0 termsOfService: https://www.bigcommerce.com/terms description: Abandoned Cart Emails V3 API managing Handlebars-based emails. contact: name: BigCommerce url: https://www.bigcommerce.com email: support@bigcommerce.com servers: - url: https://api.bigcommerce.com/stores/{store_hash}/v3 variables: store_hash: default: store_hash description: Permanent ID of the BigCommerce store. description: BigCommerce API Gateway security: - X-Auth-Token: [] tags: - name: Abandoned Cart Settings paths: /abandoned-carts/settings: parameters: - $ref: '#/components/parameters/Accept' get: summary: BigCommerce Get Global Abandoned Cart Settings description: Returns the global abandoned cart settings of a store. operationId: getGlobalAbandonedCartSettings tags: - Abandoned Cart Settings responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/GlobalAbandonedCartSettingsResponse' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' parameters: [] components: schemas: GlobalAbandonedCartSettingsResponse: description: The response object of abandoned cart settings at the global level type: object properties: data: $ref: '#/components/schemas/AbandonedCartSettings' meta: $ref: '#/components/schemas/metaEmpty_Full' x-tags: - Models metaEmpty_Full: title: Response meta type: object properties: {} additionalProperties: true description: Response metadata. AbandonedCartSettings: description: Represents all settings related to the abandoned cart functionality of a store type: object x-tags: - Models properties: enable_notification: description: Indicates whether or not abandoned cart notification is on type: boolean email_customer_until_cart_is_recovered: description: Indicates whether or not a customer should continue to receive abandoned cart emails until their cart is recovered type: boolean marketing_emails_require_customer_consent: description: Indicates whether or not a customer should receive abandoned cart emails based on their consent. By default customers will not receive emails. type: boolean email_merchant_when_cart_is_converted: description: Indicates whether or not a merchant should receive a notification email when a cart is converted into an order type: boolean email_merchant_when_cart_is_abandoned: description: Indicates whether or not a merchant should receive a notification email when a cart is abandoned type: boolean merchant_email_address: description: The email address for receiving merchant notifications type: string format: email merchant_abandoned_cart_email_frequency_type: description: Indicates whether to send an email for every abandoned cart, or to send a digest email after X number of abandoned carts type: string enum: - digest - individual merchant_abandoned_cart_digest_email_frequency: description: The number of abandoned carts to accumulate before a digest email is sent to a merchant type: integer minimum: 2 maximum: 1000 ErrorResponse: description: The response object containing details of an error type: object properties: status: type: integer title: type: string type: type: string instance: type: string errors: type: object x-tags: - Models parameters: Accept: name: Accept in: header required: true description: The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the response body. schema: type: string default: application/json securitySchemes: X-Auth-Token: name: X-Auth-Token description: '### OAuth scopes | UI Name | Permission | Parameter | |:--|:--|:-| | Information & Settings | read-only | `store_v2_information_read_only`| | Information & Settings | modify | `store_v2_information` | ### Authentication header | Header | Argument | Description | |:-|:|:| | `X-Auth-Token` | `access_token` | For more about API accounts that generate `access_token`s, see our [Guide to API Accounts](/docs/start/authentication/api-accounts). | ### Further reading For example requests and more information about authenticating BigCommerce APIs, see [Authentication and Example Requests](/docs/start/authentication#x-auth-token-header-example-requests). For more about BigCommerce OAuth scopes, see our [Guide to API Accounts](/docs/start/authentication/api-accounts#oauth-scopes). For a list of API status codes, see [API Status Codes](/docs/start/about/status-codes).' type: apiKey in: header