Skip to content

Put page translation

PUT/admin/v1/stores/{store_id}/online-store/pages/{page_id}/translations/{locale}
  • content:write

Replace a page's translation into one published language; an empty one removes it.

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….

  • localestringrequired

    A language the store publishes, e.g. en

Headers

  • shop-api-versionYYYY-MM

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

Body

  • titlestring · or null

    Up to 255 characters.

  • body_htmlstring · or null

    HTML; sanitized on save.

  • seo_titlestring · or null

    Up to 70 characters.

  • seo_descriptionstring · or null

    Up to 320 characters.

Returns

200 Saved; every translation of the page.

Errors

  • 404not_foundNo such page.
  • 422validation_failedValidation failed, or the language isn't published (unpublished_locale).