Products on the shelves
Note: Product has 2 copies of data, draft and online data
Call the interface to add and modify the product data, the impact is only draft data, to tune the interface and audit, draft data will cover online data officially effective
Too many calls to the shelf interface may be pulled black
It is recommended to check firstspu/get
orspu/get_list
Check the fields in the itemedit_status
Do not resubmit if it is under review.
Interface call request specification
Request Parameter Sample
Return Package Example
Request Parameter Dxplaination
parameter | type | Is it necessary to fill out | Introductions |
product_id | number | no | Mini Store internal product ID, with out_product_Id choose two |
out_product_id | string | no | Merchant custom product ID, with product_Id choose two |
Return parameter specification
parameter | type | Introductions |
Errcode | number | Error code |
errmsg | string | Error message |
Return code
Return code | Type of error |
-1 | System exception |
-2 | Token is too long |
9401020 | Wrong parameter |
9401021 | Call the api without permission |
9401002 | SPU does not exist |
9401001 | SPU already exists |
9401023 | SPU does not allow editing |