Update goods
Note: this exempt interface can only update part of the product field, affecting the draft data and online data, and the sku in the request package must already exist in the original online data such as out_sku_Id = "123" returns an error if it is not in the sku list of the original online data1000004
)
Interface call request specification
Request Parameter Sample
Return Package Example
Request Parameter Dxplaination
parameter | type | Is it necessary to fill out | Introductions |
out_product_id | string | yes | Merchant custom product ID, with product_Id choose two |
product_id | number(uint64) | yes | Merchant custom product ID, with product_Id choose two |
path | string | no | Bound Mini Program product path |
skus[] | object array | no | sku array |
skus[].out_sku_id | string | Required when skus exists | Business custom skuID |
skus[].sale_price | number | no | Sale Price in Units |
skus[].market_price | number | no | Market prices in units |
skus[].stock_A | number | no | stock |
skus[].barcode | string | no | barcode |
skus[].sku_code | string | no | Product code |
Return parameter specification
parameter | type | Introductions |
Errcode | number | Error code |
errmsg | string | Error message |
data.product_id | number | Trading Component Internal Product ID |
data.out_product_id | string | Custom Product ID |
data.update_time | string | Update time |
data.skus | object array | sku array |
data.skus[].sku_id | string | Trading Component Platform Custom skuID |
data.skus[].out_sku_id | string | Business custom skuID |