# Get Product List

# Interface call request specification

Time frame create_time and update_time When present at the same time, the create_time Subject to the scope of

Http request method: POST

# Request Parameter Sample

    "status": 5,            // Optional, get all status goods when not filled
    "start_create_time": "2020-12-25 00:00:00",     // Optional, with end_create_Time pairs
    "end_create_time": "2020-12-26 00:00:00",       // Optional, with start_create_Time pairs
    "start_update_time": "2020-12-25 00:00:00",     // Optional, with end_update_Time pairs
    "end_update_time": "2020-12-26 00:00:00",       // Optional, with start_update_Time pairs
    "page": 1,
    "page_size": 10,        // No more than 100
    "need_edit_spu": 1      // Default 0: Get online data, 1: Get draft data

# Return Package Example

    "errcode": 0,
    "total_in a": 20,
            "out_product_id": "1234566",
            "title": " Nintendo Nintendo Switch China Line Endurance Enhanced Edition NS Home Gaming Console Portable handheld game consoles Red and blue host ""path": "pages/productDetail/productDetail?productId=2176180",
                " http://img10.360buyimg.com/n1/s450x450_jfs/t1/85865/39/13611/488083/5e590a40E4bdf69c0/55c9bf645ea2b727.jpg"
                "desc": 'xxxxx';
                    " http://img10.360buyimg.com/n1/s450x450_jfs/t1/85865/39/13611/488083/5e590a40E4bdf69c0/55c9bf645ea2b727.jpg"
            "audit_info": {
                "submit_time" :  "2021-03-09 15:14:08",
                "audit_time": "2021-03-09 15:16:08",
                "reject_reason": 'No pass'
            "third_cat_id": 6666,
            "brand_id": 2100000000,
            "info_version": "xxx",
            "create_time": "2020-12-25 00:00:00",
            "update_time": "2020-12-26 00:00:00",
                    "out_product_id": "1234566",
                    "out_sku_id": "1024",
                    "thumb_img": " http://img10.360buyimg.com/n1/s450x450_jfs/t1/100778/17/13648/424215/5e590a40E2d68e774/e171d222a0c9b763.jpg",
                    "sale_price": 1300,
                    "market_price": 1500,
                    "stock_in a": 100,
                    "sku_code": "A24525252",
                    "barcode": "13251454",
                            "attr_key": "Choose a color,"
                            "attr_value": "Red and blue host."
                            "attr_key": "Choose a suit,"
                            "attr_value": "Host + Protective Case"

# Request Parameter Dxplaination

parameter type Is it necessary to fill out Introductions
status number yes Status of goods
start_create_time string no Start Creation Time
end_create_time string no End of creation time
start_update_time string no Start Update Time
end_update_time string no End of 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

# Return parameter specification

parameter type Introductions
Errcode number Error code
errmsg string Error message
total_A number total
said[] object array Spu array
said[].product_id number(uint64) Trading Component Internal Product ID
said[].out_product_id string Custom Product ID
said[].title string title
said[].path string Bound Mini Program product path
said[].head_img string array Main chart, multiple sheets, list
said[].desc_info.desc string Product Details
said[].desc_info.imgs string array Picture of the day
said[].audit_info object Product review information, may be empty
said[].audit_info.submit_time string Last submission date, yyyy-MM-dd HH: mm: SS
said[].audit_info.audit_time string Last audit time, yyyy-MM-dd HH: mm: SS
said[].audit_info.reject_reason string Reason for refusal
said[].status number Product Online Status
said[].edit_status number Draft status of merchandise
said[].third_cat_id number Level 3 Category ID
said[].brand_id number Brand id
said[].create_time string Create time
said[].update_time string Update time
said[].info_version string Reserved fields for version control
said[].skus[] object array sku array
said[].skus[].out_product_id string Custom Product ID
said[].skus[].out_sku_id string Business custom skuID
said[].skus[].thumb_img string sku small diagram
said[].skus[].sale_price number Sale Price in Units
said[].skus[].market_price number Market prices in units
said[].skus[].stock_A number stock
said[].skus[].barcode string barcode
said[].skus[].sku_code string Product code
said[].skus[].sku_attrs[].attr_key string Sales attribute key (custom)
said[].skus[].sku_attrs[].attr_value string Sales attribute value (custom)

# Enumerate - edit _status

Enumeration value describe
0 Initial value
1 Editing
2 Under review
3 Audit failure
4 Audit success

# Enumerate - status

Enumeration value describe
0 Initial value
5 Shelf
11 Autonomous dismounting
13 Offending Shelf/Air Control System Off the Shelf

# 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