简要描述Description
  • 获取用户商品列表+存储仓库+库存。 Fetch product of yourself, or products shared by other sellers… when share=1, will fetch shared products, when picked=1, will fetch your favoried shared products which you picked at website
请求URL
  • /wms_api/product/list
请求方式Method
  • POST
请求示例Request
{
    "timestamp": {{timestamp}},
    "sign": "{{sign}}",
    "page_no": 1,
    "page_size": 20,
    "sku": "",  //可选optional
    "store_id": 1, //可选optional
    "share": 1, //可选, 1分销商品。0自有商品,默认0   optional, default 0,  if 1 fetch products shared by other sellers
    "picked": 1 //可选, 1已选商品。0未选商品,默认0  optional, default 0, if 1 fetch your selected products shared by other sellers
}
返回示例Response
{
    "code": 200,
    "msg": "success",
    "data": {
        "total": 664, //用户总商品数
        "list": [{
            "id": 26493,
            "uid": 179,
            "sn": "179-26493",  
            "sku": "B0BR6P1DLN-03244",
            "title": "海藻苹果醋软糖80/瓶",
            "cover_shot": "https://cdn.fbbship.com/oversea/file/9260901569971233.jpeg",
        "    pictures": ["url","url"], //always first as main image
            "introductions": ["text","text"],  //要点, show by ul>li, same as amazon
            "descriptions": ["text","text"],  //array description shown by table, same as amazon
           "description": "简介", //plain text, or html, full detail description, if have shown below  descriptions, above description_pictures
           "description_pictures": ["url","url"], //full description list by image one by one
            "cover_shot": "https://cdn.fbbship.com/oversea/file/9260901569971233.jpeg",
            "certificates": ["url","url"],  //if have, show bottom of detail
            "package_id": 3,
            "package_name": "袋装",
            "package_name_en": "None",   //english
            "package_name_es": null, //spanish
            "category_id": 2,
            "category_name": "美妆饰品",
            "category_name_en": "Beauty & Accessories",  //english
            "category_name_es": "Maquillaje & ornamento", //spanish
            "service_name": "一件代发",
            "attribute": [
                "正常" //规格:正常、带电
            ],
            "made_in": "中国",
            "all_no": 0, //所有仓库库存数量
            "width": 5,
            "height": 5,
            "length": 12,
            "dimension_unit": "cm",
            "weight": 240,
            "weight_unit": "g",
            "is_large": 0,
            "is_length": 1,
            "is_weight": 0,
            "created_at": "2024-01-29 08:30:55",
            "plan_id": 266,     //分销ID, share id, means this product is shared by other sellers
            "plan_uid": 774,  //分销UID  other seller uid
            "resale_price": "15.00",   //分销价   share price, you should pay it because it's not beloing to you
            "stocks": [{
                "store_id": 1,
                "store_name": "US-LAX",
                "all_no": 0 //库存数量
            }],

        }]
    }
作者:admin  创建时间:2024-01-30 11:26
最后编辑:admin  更新时间:2025-05-06 11:38