【发布时间】:2017-01-05 10:18:01
【问题描述】:
我正在通过 REST API 将产品数据导出到 Magento 2 商店。创建产品效果很好,但是当我更新现有产品时,description 和 short_description 不会更新。
数据:
{
sku: 'LEDSL302',
price: 7,
name: 'LEDguardian®',
attribute_set_id: 4,
type_id: 'simple',
custom_attributes: [
{ attribute_code: 'description', value: 'foo' },
{ attribute_code: 'short_description', value: 'bar' }
]
}
我错过了什么吗?
【问题讨论】:
-
嗨@geon,你解决问题了吗?我有同样的问题。如果您找到解决方案,请回答您赢得的问题。干杯
-
@luigibertaco 是的,我做到了。检查我现在发布的答案。