我如何通過更新嵌套值。API?我想更新我的自定義欄位custom_product_fields_magento_product_id
請求路徑:/api/product/f9529c4f40e94fa6ae7439f97090cc9e
請求型別:補丁
身體:
{
"translated.customFields.custom_product_fields_magento_product_id" : "123"
}
我哪里出錯了?我可以輕松更新未嵌套的產品值,例如"productNumber" : "value"
uj5u.com熱心網友回復:
您可以使用
{
"customFields": {
"custom_product_fields_magento_product_id":"123"
}
}
該值將自動保存到翻譯中,其語言在請求頭或默認語言中指定。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/390101.html
