Storefront themes
Roll a theme back to a snapshot
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
themeId*string
versionId*string
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/stores/string/storefront/themes/string/versions/string/restore"{ "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"}