Appearance
PATCH
/web-pages/draft/drafts/{draftId}/settings/{storeSettingId}Required scope:
viskan:draft:updateUpdates a store setting by ID.
Parameters
Path parameters
draftId string Format:
uuidIdentifier of the draft. A draft is a workspace that holds unpublished changes to web store content.
storeSettingId string Format:
uuidIdentifier of the store setting. Store settings are key-value pairs that configure web store behavior.
Request body
JSON
{
"storeSettingKey": "checkMediaEnabled",
"storeSettingValue": true,
"countryCode": "SE",
"languageCode": "sv",
"action": "REMOVE"
}
Response
Store setting successfully updated.
| Error code | Description |
|---|---|
web-pages.update-setting.country-code-invalid | Country code is invalid. |
web-pages.update-setting.draft-not-found | Draft not found. |
web-pages.update-setting.language-code-invalid | Language code is invalid. |
web-pages.update-setting.setting-already-exists | Store setting already exists. |
web-pages.update-setting.setting-for-removal-not-found | Store setting for removal not found. |
web-pages.update-setting.setting-key-missing | Store setting key is missing. |
web-pages.update-setting.setting-not-found | Store setting not found. |