Update page
PUT
/ admin/ v1/ stores/ {store_id}/ online-store/ pages/ {page_id}- content:write
Replace a page. Send its version as If-Match.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.page_idstringrequiredThe page's ID, like
page_01k8qs5s….
Headers
If-Matchstring · or nullThe page's version
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
titlestringrequiredpublishedbooleanrequiredhandlestringDerived from the title when empty.
body_htmlstringseo_titlestring · or nullseo_descriptionstring · or nulltemplate_suffixstring · or nullpublished_attimestamp · or nullWhen a published page appears on the storefront (RFC 3339): later schedules it (at most 2 years ahead), earlier backdates it. Omitted: now when first published, else unchanged. Needs
published: true.
Returns
200 Saved.
Errors
- 404
not_foundNo such page. - 409Handle taken, or changed by someone else.
- 422
validation_failedValidation failed.