Theme Custom Templates

Theme Custom Templates

Get Custom Templates

GET /themes/custom-templates/{version_uuid}

Request

Enumerate available custom templates for in the theme files in a specific theme version for each supported entity type.

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.
  • version_uuid in path - string
    required

example

curl --request GET \
--url 'https://api.bigcommerce.com/stores/[store_hash]/v3/themes/custom-templates/[version_uuid]' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-Auth-Token: {{token}}'

Response

OK

Body

object | application/json
  • data
    object

  • meta
    object

    Response metadata.

Custom template 1

{
"data": {
"product": [
"custom-product-1.html"
],
"category": [],
"brand": [
"custom-brand-1.html"
],
"page": [
"custom-page-1.html",
"holiday-page.html"
]
},
"meta": {}
}
Did you find what you were looking for?