公共参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
| access_token | string | 是 | 接口调用令牌,如何获取access_token | e3716b44c10e4f232c91e2dc6c9b56e0 |
请求地址
https://店铺APPID.shop.yishop.site/openApi/Store/getProductSaleData
请求参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
| appid | string | 是 | 请传入店铺appid | |
返回参数
| 参数 | 类型 | 说明 | 示例 |
| code | string | 返回状态码,返回0表示请求成功 | 0 |
| data | mixed | 返回的数据集合 | |
| product_id | string | 产品ID | |
| product_name | string | 商品名称 | |
| product_pc_name | string | 商品分类 | |
| product_default_image | string | 商品主图 | |
| product_price | string | 商品价格 | |
| product_sale | string | 商品销量 | |
| product_allow_distribution | string | | |
| product_default_image_thumb | string | | |
| product_default_standard_thumb | string | | |
| product_sale_price | string | | |
| product_marketprice | string | | |
| product_discount | integer | | |
| product_point | integer | | |
| plugin | array | | |
| plugin_tags | string | | |
| promote_id | string | | |
| id | string | | |
| Distribution | array | | |
| Distribution.level_list | array | | |
| Distribution.level_list.dl_id | string | | |
| Distribution.level_list.dl_name | string | | |
| Distribution.level_list.dl_first_rate | string | | |
| Distribution.level_list.dl_second_rate | string | | |
| Distribution.share_text | array | | |
| Distribution.share_image | NULL | | |
| Distribution.share_video | array | | |