BigCommerce Theme Configurations API

The Theme Configurations API from BigCommerce — 2 operation(s) for theme configurations.

Documentation

📖
Documentation
https://developer.bigcommerce.com/
📖
APIReference
https://developer.bigcommerce.com/docs/rest-management/abandoned-carts
📖
APIReference
https://developer.bigcommerce.com/docs/rest-management/carts
📖
APIReference
https://developer.bigcommerce.com/docs/rest-catalog/brands
📖
APIReference
https://developer.bigcommerce.com/docs/rest-catalog/categories
📖
APIReference
https://developer.bigcommerce.com/docs/rest-catalog/category-trees
📖
APIReference
https://developer.bigcommerce.com/docs/rest-catalog/product-modifiers
📖
APIReference
https://developer.bigcommerce.com/docs/rest-catalog/product-variant-options
📖
APIReference
https://developer.bigcommerce.com/docs/rest-catalog/product-variants
📖
APIReference
https://developer.bigcommerce.com/docs/rest-catalog/products
📖
APIReference
https://developer.bigcommerce.com/docs/rest-management/channels
📖
APIReference
https://developer.bigcommerce.com/docs/rest-management/checkouts
📖
APIReference
https://developer.bigcommerce.com/docs/rest-content/store-content
📖
APIReference
https://developer.bigcommerce.com/docs/rest-management/currencies
📖
APIReference
https://developer.bigcommerce.com/docs/rest-management/customers
📖
APIReference
https://developer.bigcommerce.com/docs/rest-content/email-templates
📖
APIReference
https://developer.bigcommerce.com/docs/rest-management/geography
📖
APIReference
https://developer.bigcommerce.com/docs/rest-management/orders
📖
APIReference
https://developer.bigcommerce.com/docs/rest-content/pages
📖
APIReference
https://developer.bigcommerce.com/docs/rest-payments/tokens
📖
APIReference
https://developer.bigcommerce.com/docs/rest-payments/methods-deprecated
📖
APIReference
https://developer.bigcommerce.com/docs/rest-payments/processing
📖
APIReference
https://developer.bigcommerce.com/docs/rest-management/settings
📖
APIReference
https://developer.bigcommerce.com/docs/rest-management/shipping-v2
📖
APIReference
https://developer.bigcommerce.com/docs/rest-management/channels/site
📖
APIReference
https://developer.bigcommerce.com/docs/rest-management/store-information
📖
APIReference
https://developer.bigcommerce.com/docs/rest-storefront/carts
📖
APIReference
https://developer.bigcommerce.com/docs/rest-storefront/checkouts
📖
APIReference
https://developer.bigcommerce.com/docs/rest-storefront/customers
📖
APIReference
https://developer.bigcommerce.com/docs/rest-storefront/orders
📖
APIReference
https://developer.bigcommerce.com/docs/rest-storefront/subscriptions
📖
APIReference
https://developer.bigcommerce.com/docs/integrations/webhooks
📖
APIReference
https://developer.bigcommerce.com/docs/rest-content/widgets

Specifications

Other Resources

OpenAPI Specification

bigcommerce-theme-configurations-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: BigCommerce Abandoned Cart Emails Theme Configurations 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: Theme Configurations
paths:
  /themes/{uuid}/configurations:
    parameters:
    - $ref: '#/components/parameters/Accept'
    - in: query
      name: site_id:in
      description: Filter configurations by a list of site_ids
      required: true
      style: form
      explode: false
      schema:
        type: array
        items:
          type: integer
    - in: query
      name: uuid:in
      description: Filter configurations by a list of configuration UUIDs
      style: form
      explode: false
      schema:
        type: array
        items:
          type: string
    - in: query
      name: variation_uuid
      description: Filter configurations by a variation_uuid
      schema:
        type: string
    - name: page
      description: 'Specifies the page number in a limited (paginated) list.

        '
      required: false
      in: query
      schema:
        type: integer
    - name: limit
      description: 'Controls the number of items per page in a limited (paginated) list of products.

        '
      required: false
      in: query
      schema:
        type: integer
    get:
      responses:
        '200':
          $ref: '#/components/responses/themesConfigurations_RespCollection'
      tags:
      - Theme Configurations
      operationId: getThemeConfiguration
      summary: BigCommerce Get Theme Configuration
      description: 'Returns a list of theme''s configurations.


        **Usage Notes**:

        * At least one filter must be provided.'
      parameters:
      - $ref: '#/components/parameters/ThemeIdParam'
      - schema:
          type: array
          items:
            type: string
        in: query
        name: uuid:in
        description: Filter configurations by a list of configuration UUIDs.
      - schema:
          type: array
          items:
            type: integer
        in: query
        name: channel_id:in
        description: Filter configurations by a list of channel_ids.
      - $ref: '#/components/parameters/PageParam'
      - $ref: '#/components/parameters/LimitParam'
      - schema:
          type: string
        in: query
        name: variation_uuid
        description: Filter configurations by a variation_uuid.
  /themes/{uuid}/configurations/validate:
    parameters:
    - $ref: '#/components/parameters/Accept'
    - $ref: '#/components/parameters/ThemeIdParam'
    post:
      parameters:
      - $ref: '#/components/parameters/ContentType'
      responses:
        '200':
          description: Theme passes validation.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        '422':
          description: Theme failed validation, detailed errors in response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: BigCommerce Validate Theme Configuration
      operationId: validateThemeConfiguration
      tags:
      - Theme Configurations
      description: Validates a theme configuration against the theme's schema without creating it. Useful for testing schemas before creation.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/themeConfiguration_Write'
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
    PageParam:
      name: page
      description: 'Specifies the page number in a limited (paginated) list.

        '
      required: false
      in: query
      schema:
        type: integer
    LimitParam:
      name: limit
      description: 'Controls the number of items per page in a limited (paginated) list of products.

        '
      required: false
      in: query
      schema:
        type: integer
    ContentType:
      name: Content-Type
      in: header
      required: true
      description: The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the request body.
      schema:
        type: string
        default: application/json
    ThemeIdParam:
      name: uuid
      description: The theme identifier.
      in: path
      required: true
      schema:
        type: string
  schemas:
    themeConfiguration_Write:
      description: A theme.
      type: object
      properties:
        variation_id:
          type: string
          description: The Variation to which the Configuration belongs.
        settings:
          type: object
          description: The content of the configuration, which is a JSON object which will vary in structure from theme to theme.
      title: themeConfiguration_Write
      x-internal: false
    themeConfiguration_Full:
      description: A theme.
      type: object
      properties:
        uuid:
          type: string
        theme_uuid:
          type: string
          description: The Theme to which the Configuration belongs.
        variation_id:
          type: string
          description: The Variation to which the Configuration belongs.
        settings:
          type: object
          description: The content of the configuration, which is a JSON object which will vary in structure from theme to theme.
        date_created:
          type: string
        site_id:
          type: integer
          description: Site ID to which this configuration belongs. Will be 0 for the original configuration for a Theme.
      title: themeConfiguration_Full
      x-internal: false
    ThemesCollectionMeta:
      type: object
      description: Data about the response, including pagination and collection totals.
      properties:
        pagination:
          type: object
          description: Data about the response, including pagination and collection totals.
          title: Pagination
          properties:
            total:
              type: integer
              description: 'Total number of items in the result set.

                '
              example: 36
            count:
              type: integer
              description: 'Total number of items in the collection response.

                '
              example: 36
            per_page:
              type: integer
              description: 'The amount of items returned in the collection per page, controlled by the limit parameter.

                '
              example: 50
            current_page:
              type: integer
              description: 'The page you are currently on within the collection.

                '
              example: 1
            total_pages:
              type: integer
              description: 'The total number of pages in the collection.

                '
              example: 1
      title: Themes Collection Meta
      x-internal: false
    ErrorResponse:
      allOf:
      - 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
        title: Base Error
      - type: object
        properties:
          errors:
            type: object
            properties: {}
            additionalProperties: true
            title: Detailed Errors
      title: Error Response
      x-internal: false
  responses:
    themesConfigurations_RespCollection:
      description: ''
      content:
        application/json:
          schema:
            description: 'Response payload for the BigCommerce API.

              '
            type: object
            properties:
              data:
                type: array
                items:
                  $ref: '#/components/schemas/themeConfiguration_Full'
              meta:
                $ref: '#/components/schemas/ThemesCollectionMeta'
          examples:
            response:
              value:
                data:
                - uuid: in
                  theme_uuid: amet Ut
                  variation_id: ut
                  settings: {}
                  date_created: ei
                  site_id: 52736226
                meta:
                  pagination:
                    total: 36
                    count: 36
                    per_page: 50
                    current_page: 1
                    total_pages: 1
  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