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_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….localestringrequiredA language the store publishes, e.g.
en
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
titlestring · or nullUp to 255 characters.
body_htmlstring · or nullHTML; sanitized on save.
seo_titlestring · or nullUp to 70 characters.
seo_descriptionstring · or nullUp to 320 characters.
Returns
200 Saved; every translation of the page.
Errors
- 404
not_foundNo such page. - 422
validation_failedValidation failed, or the language isn't published (unpublished_locale).