https://doc.youzanyun.com/detail/API/0/3752,这个新增商品接口返回提示:{"traceId":"yz7-0a350a43-1712746473912-639167","code":-101,"message":"skuProps最多支持三组规格","success":false}
请求参数:
{
"headers": {
},
"apiParams": {
"param": {
"itemType": 0,
"skuList": [
{
"skuProps": [
{
"propName": "顔色",
"propValueId": 3,
"propNameId": 2,
"propValueName": "绿色"
},
{
"propName": "尺寸",
"propValueId": 6,
"propNameId": 6,
"propValueName": "10cm"
},
{
"propName": "尺码",
"propValueId": 5,
"propNameId": 4,
"propValueName": "L"
},
{
"propName": "型号",
"propValueId": 4,
"propNameId": 1,
"propValueName": "全网通"
}
],
"price": 1,
"stockNum": 0,
"skuNo": "YZ240410005"
}
,
"title": "YSH-多规格商品测试-2024041005",
"stockDeductMode": 1,
"isDisplay": 0,
"itemPriceParam": {
"price": 15190
},
"barcode": "JSNYZ240410006",
"imageIds": [
7052084303
]
}
},
"gateway": "https://open.youzanyun.com"
}
请问skuProps这个数组最多只能放三组元素吗?例如一个规格颜色有红、蓝、黑等等多种规格值时,怎么保存呢?
本帖最后由 78b5915fdfa6 于 2024-4-11 15:19 编辑
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|