Themes
Backup, restore, download, and activate themes; and, get the status of theme jobs and read theme configurations.
Get all Themes
GET https://api.bigcommerce.com/stores/{store_hash}/v3/themesRequest
Returns a list of store Themes.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
example
Response
Body
object | application/json
Response payload for the BigCommerce API.
dataarray[object]
response
Upload a Theme
POST https://api.bigcommerce.com/stores/{store_hash}/v3/themesRequest
Uploads a new Theme to your BigCommerce store.
Required Fields
- file
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- Content-Type in header with default of application/json - stringrequiredThe MIME type of the request body.
Body
object | multipart/form-data
filestring
requiredThe file.
Response
Job ID for the background job processing the theme upload.
Body
object | application/json
The job identifier for theme upload or download.
job_idstring
The job identifier.
response
Get a Theme
GET https://api.bigcommerce.com/stores/{store_hash}/v3/themes/{uuid}Request
Returns a store Theme. The theme variation is not available at this endpoint.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- uuid in path - stringrequiredThe theme identifier.
example
Response
Body
object | application/json
Response payload for the BigCommerce API.
dataobject
A theme.
response
Delete a Theme
DELETE https://api.bigcommerce.com/stores/{store_hash}/v3/themes/{uuid}Request
Deletes a store Theme. Theme variations can not be deleted using this endpoint. This will delete the theme and all variations.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- uuid in path - stringrequiredThe theme identifier.
example
Response
See something you can improve? Edit this file on GitHub
Did you find what you were looking for?