创建带有多sku的商品,又在sku_list里面传价格,为啥还需要传item_price_param的价格呢?itemPriceParam 价格参数为空"
接口:https://open.youzanyun.com/api/youzan.item.add/1.0.0
{
"param": {
"item_weight": "2000",
"item_no": "",
"barcode": "",
"title": "测试789",
"template_id": 128587400,
"sell_point": "2023-05-28",
"item_type": 0,
"image_ids": [
"6406712915"
],
"hide_stock": 0,
"desc": " ",
"sku_list": {
"sku_props": [
{
"cost_price": 1000,
"price":2000,
"sku_props": {
"prop_name":"包装",
"prop_value_name":"1小包(单包不售卖)",
"stock_num":1
}
},
{
"cost_price": 20000,
"price":40000,
"sku_props": {
"prop_name":"包装",
"prop_value_name":"1袋(20小包)",
"stock_num"
}
}
},
"category_param": {
"category_properties": {
"publics": {
"id": "14988",
"val_names": [
"其他商品"
},
"leaf_category_id": "15014"
}
},
"post_sale_param": {
"refund_param": {
"support_refund": false
}
},
"item_delivery_param": {
"delivery_template_id": "3226179"
},
"purchase_permission": {
"ump_tags": [
"7565174"
],
"purchase_right": "true"
}
}
}
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|