Skip to content

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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • page_idstringrequired

    The page's ID, like page_01k8qs5s….

Headers

  • If-Matchstring · or null

    The page's version

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • titlestringrequired
  • publishedbooleanrequired
  • handlestring

    Derived from the title when empty.

  • body_htmlstring
  • seo_titlestring · or null
  • seo_descriptionstring · or null
  • template_suffixstring · or null
  • published_attimestamp · or null

    When 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

  • 404not_foundNo such page.
  • 409Handle taken, or changed by someone else.
  • 422validation_failedValidation failed.