Developer platform

Register a theme component version

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

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/versions" \  -H "Content-Type: application/json" \  -d '{    "type": "string",    "name": "string",    "version": "string",    "properties": {      "property1": {        "type": "text",        "label": "string",        "property1": null,        "property2": null      },      "property2": {        "type": "text",        "label": "string",        "property1": null,        "property2": null      }    },    "template": "string",    "idempotencyKey": "stringst"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "componentId": "616ccd92-d666-4180-8349-8d125b269fac",  "storeId": "b8adcdc8-9238-4168-90f8-77b2d14c211c",  "version": "string",  "publishedAt": "string",  "createdAt": "string"}