Storefront themes
Install a built-in theme (or create a named copy of one)
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/stores/string/storefront/themes" \ -H "Content-Type: application/json" \ -d '{ "base": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "base": "string", "baseLabel": "string", "baseVersion": "string", "isActive": true, "version": -9007199254740991, "hasDraft": true, "customisedFiles": -9007199254740991, "conflicts": [ "string" ], "update": { "available": true, "released": "string", "files": [ "string" ] }, "changes": { "from": "string", "to": "string", "entries": [ { "version": "string", "date": "string", "notes": [ "string" ] } ] }, "imported": true, "owner": { "storeId": "b8adcdc8-9238-4168-90f8-77b2d14c211c", "storeName": "string", "isThisStore": true }, "usedBy": [ { "storeId": "b8adcdc8-9238-4168-90f8-77b2d14c211c", "storeName": "string" } ], "sharedWith": [ { "storeId": "b8adcdc8-9238-4168-90f8-77b2d14c211c", "storeName": "string", "isActive": true } ], "tier": "free", "updatedAt": "string", "createdAt": "string"}