Developers

Pages

Markdown

Publish or hide a page

Shows the page in the store or hides it.

PATCH/stores/{storeId}/v1/pages/{id}/publication

Path parameters

idstringrequired

Headers

If-Matchstringrequired
ETag from a GET of this same resource projection.

Request body

is_activebooleanrequired

Response

dataobjectrequired
idinteger
titlestring
slugstring
contentstring
is_activeboolean
seo_titlestring | null
seo_descriptionstring | null
seo_keywordsstring | null
indexableboolean
created_atstring (date-time)
updated_atstring (date-time)
executionobject
Who executed the request: the app, version, installation and store. Field names here are camelCase.
appIdstring (uuid)
versionIdstring (uuid)
installationIdstring (uuid)
storeIdstring (uuid)
requestIdstring (uuid)
generationinteger
routeEpochinteger
appAuthEpochinteger
grantRevisioninteger
metaobjectrequired
request_idstring (uuid)
The request ID; include it in any support request.

Errors

HTTPCodeMeaning
503APPS_SCOPE_RUNTIME_NOT_READYThe resource is not enabled on this merchant's store yet.

Shared codes are listed in Errors.

    ↑↓ moveEnter openEsc close