PaidGoods
API referenceStorefront themes

Save unpublished visual-editor changes

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

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

curl -X PUT "https://example.com/v1/stores/string/storefront/themes/string/draft" \  -H "Content-Type: application/json" \  -d '{    "settings": {      "property1": null,      "property2": null    }  }'
{  "ok": true}