调用youzan.item.common.search 接口查询item_id 参数 :{ "page_size": 50, "page_no":1, "item_nos":"SPZ00003614","kdt_ids":["146418575"]}
返回 :"kdt_id": 146418575,
"update_time": 1731042890000,
"price": 300,
"alias": "2okqmcb7877zzhi",
"sold_status": 1,
"barcode": "6932593030055",
"summary": "",
"created_time": 1730706075000,
"tag_ids": [
14555445535
],
"biz_code": "000000000000",
"item_id": 3509540654,
然后调用:查询单商品明细接口-推荐使用 查询 youzan.item.detail.get 插上spu_Id 参数 : { "item_id": 3509540654 ,} 返回的参数 : spu_id": 25711382204
最后跟更新价格 : youzan.item.incremental.update 参数 {
"param": {
"item_id": 3509540654,
"sku_list":[ {"sku_id":"25711382204","price": 400,"cost_price":0,"is_sku_stock_num_edited":true,"stock_num":1
}
]
}
}
返回:{
"trace_id": "yz7-0a350a40-1731044839519-886198",
"code": 301003003,
"success": false,
"message": "SKU的ID不存在 "
}
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|