Developer platform

Install or roll back a component on a theme

POST
/v1/stores/{storeId}/theme-components/install

Authorization

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/theme-components/install" \  -H "Content-Type: application/json" \  -d '{    "themeId": "53fe7fb9-b3ba-4541-bf79-a49c12f44b76",    "versionId": "14707576-2549-4848-82ed-f68f8a1b47c7",    "idempotencyKey": "stringst"  }'
{  "installationId": "7a1bf939-4d70-4439-9ced-a3dbbce12bd7",  "type": "string",  "version": "string",  "replay": true}