# Get a list of products from partner stores

Through this interface Weixin Mini Program you can get the cooperation account Weixin Store

# Dxplaination of Interface Call Request

http请求方式:POST
https://api.weixin.qq.com/channels/ec/cooperation/product/list?access_token=ACCESS_TOKEN

# Example of request parameters

{
    "shop_appid": "wx***************0",
    "page_size": 2
}

# Dxplaination of request parameters

参数 type Is it compulsory? Introductions
shop_appid string yes Shop AppID
page_size number yes Size of each page
next_key string no Use to flip the page and get back in the bag.

# Examples of back-up

{
    "products": [
        {
            "product_id": 10000157022254
        },
        {
            "product_id": 10000157016507
        }
    ],
    "total_num": 124,
    "next_key": "EhgIi/2/voWjAhCjzK24BhjAhZCBgICAgAI=",
    "errcode": 0,
    "errmsg": "ok"
}

# Dxplaination of callback parameters

参数 type Introductions
errcode string Error code
errmsg string Error message
total_num number total
next_key string Used for turning pages
products object List of Products
products[].product_id number Product ID