Get a list of goods
Dxplaination of Interface Call Request
Time rangecreates_timeandupdate_time]]when they exist at the same time, the range`create_time]]]] takes precedence
Example of request parameters
Examples of back-up
Dxplaination of request parameters
| 参数 | type | Is it compulsory? | Introductions |
| status | number | yes | Condition of product |
| start_create_time | string | no | Start creating time |
| end_create_time | string | no | End creation time |
| start_update_time | string | no | Starting update time |
| end_update_time | string | no | End update time |
| need_edit_spu | number | no | Default 0: Get online data, 1: Get draft data |
| page | number | yes | Page number |
| page_size | number | yes | Page size |
Dxplaination of callback parameters
| 参数 | type | Introductions |
| errcode | number | Error code |
| errmsg | string | Error message |
| total_num | number | total |
| spus[] | object array | Spu array |
| spus[].product_id | number(uint64) | Trading Component Platform Internal Product ID |
| spus[].out_product_id | string | Merchant Custom Item ID |
| spus[].title | string | title |
| spus[].path | string | Bound Weixin Mini Program product path |
| spus[].head_img | string array | Main picture, multiple sheets, list |
| spus[].desc_info.desc | string | Product Details Graphic |
| spus[].desc_info.imgs | string array | Item Details Photo |
| spus[].audit_info | object | Product audit information may be empty |
| spus[].audit_info.submit_time | string | Last submitted, yyyy-MM-ddHH: mm: ss |
| spus[].audit_info.audit_time | string | Last audit time, yyyy-MM-dd HH: mm: ss |
| spus[].audit_info.reject_reason | string | Reasons for Refusal |
| spus[].status | number | Item Status Online |
| spus[].edit_status | number | Draft status of commodities |
| spus[].third_cat_id | number | Third-level category ID |
| spus[].brand_id | number | Brand id |
| spus[].create_time | string | Created time |
| spus[].update_time | string | Updated time |
| spus[].info_version | string | Reserve fields for version control |
| spus[].skus[] | object array | sku array |
| spus[].skus[].out_product_id | string | Merchant Custom Item ID |
| spus[].skus[].out_sku_id | string | Merchant custom skuID |
| spus[].skus[].thumb_img | string | SCU diagram |
| spus[].skus[].sale_price | number | Sell prices divided into units |
| spus[].skus[].market_price | number | Market prices divided into units |
| spus[].skus[].stock_num | number | stock |
| spus[].skus[].barcode | string | barcode |
| spus[].skus[].sku_code | string | Product Codes |
| spus[].skus[].sku_attrs[].attr_key | string | Sales attribute key (custom) |
| spus[].skus[].sku_attrs[].attr_value | string | Sales attribute value (custom) |
| scene_group_list | enum array | Product use scenarios |
Enumeration - edit_status
| 枚举值 | describe |
| 0 | Initial value |
| 1 | In edit |
| 2 | Under review |
| 3 | The audit failed |
| 4 | The audit was successful. |
Enumeration - status
| 枚举值 | describe |
| 0 | Initial value |
| 5 | Get on the shelves. |
| 11 | Take it off the shelves on her own. |
| 13 | Violations removed / Risk control removed |
Return code
| 返回码 | Error Type |
| -1 | System exceptions |
| -2 | Token too long |
| 9401020 | The parameter is incorrect. |
| 9401021 | Call the api without permission |
| 9401002 | SPU does not exist |
| 9401001 | SPU already exists |
| 9401023 | SPU does not allow editing |