Storefront themes

Share a theme with the organisation’s other stores (the full list)

PUT
/v1/stores/{storeId}/storefront/themes/{themeId}/shares

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
themeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/stores/string/storefront/themes/string/shares" \  -H "Content-Type: application/json" \  -d '{    "storeIds": [      "636b56cb-e414-46d5-b6c0-0e73b3e0106b"    ]  }'
{  "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"}