公共参数
参数 | 类型 | 必填 | 说明 | 示例 |
access_token | string | 是 | 接口调用令牌,如何获取access_token | e3716b44c10e4f232c91e2dc6c9b56e0 |
请求地址
https://店铺APPID.shop.yishop.site/openApi/Product/getProductList
请求参数
参数 | 类型 | 必填 | 说明 | 示例 |
appid | string | 是 | 请传入店铺appid | |
返回参数
参数 | 类型 | 说明 | 示例 |
code | string | 返回状态码,返回0表示请求成功 | 0 |
data | mixed | 返回的数据集合 | |
product_list | array | | |
product_list.product_id | string | | |
product_list.product_spu | string | | |
product_list.product_name | string | | |
product_list.product_pc_name | string | | |
product_list.product_default_image | string | | |
product_list.product_price | string | | |
product_list.product_costprice | string | | |
product_list.product_allow_distribution | string | | |
product_list.product_default_image_thumb | string | | |
product_list.product_default_standard_thumb | string | | |
product_list.product_sale_price | double | | |
product_list.product_marketprice | string | | |
product_list.product_discount | double | | |
product_list.product_point | integer | | |
product_list.plugin | array | | |
product_list.plugin_tags | string | | |
product_list.promote_id | string | | |
product_list.id | string | | |
total | double | | |