openapi: 3.0.0 info: title: BigCommerce Abandoned Cart Emails Regions 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: Regions paths: /content/regions: get: responses: '200': $ref: '#/components/responses/ThemeRegions_Resp' '404': $ref: '#/components/responses/Error404_Resp' '422': $ref: '#/components/responses/Error422_Resp' summary: BigCommerce Get Theme Regions description: Returns a list of unique **Theme Regions** in a file. operationId: getContentRegions tags: - Regions parameters: - $ref: '#/components/parameters/Accept' - in: query name: template_file description: 'The template file, for example: `templateFile=pages/home`.' required: true schema: type: string components: 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 responses: ThemeRegions_Resp: description: '' content: application/json: schema: type: object properties: data: type: array items: $ref: '#/components/schemas/themeRegion' meta: $ref: '#/components/schemas/Meta' examples: response: value: data: - name: header_bottom - name: category_header_banner meta: {} Error422_Resp: description: 'This is the result of missing required fields, or of invalid data. See the response for more details. ' content: application/json: schema: $ref: '#/components/schemas/error_Base' Error404_Resp: description: The resource was not found. content: application/json: schema: $ref: '#/components/schemas/error_Base' examples: example-1: value: status: 0 title: string type: string instance: string errors: {} schemas: themeRegion: properties: name: type: string description: The region name. title: themeRegion x-internal: false Meta: title: Response meta type: object properties: {} additionalProperties: true description: Response metadata. error_Base: type: object description: Error payload for the BigCommerce API. properties: status: description: The HTTP status code. type: integer title: description: The error title describing the particular error. type: string type: type: string instance: type: string errors: type: object x-internal: false title: error_Base 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