Skip to content

Put product translation

PUT/admin/v1/stores/{store_id}/products/{product_id}/translations/{locale}
  • products:write

Replace a product's translation into one published language; an empty body 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.

  • product_idstringrequired

    The product's ID, like prod_01k8qs5s….

  • localestringrequired

    A published language, 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
  • description_htmlstring · or null

    HTML; sanitized on save.

  • seo_titlestring · or null
  • seo_descriptionstring · or null
  • optionsobject

    By option ID.

  • inputsobject

    By input ID.

Returns

200 Translations by locale.

Errors

  • 404not_foundNo such product.
  • 422validation_failedNot a published language (unpublished_locale), or a field is invalid.