商品销售报告
属性 | 说明 | 必含 | 类型 |
---|---|---|---|
data | 数据 | 是 | object |
data>>add_events | 添加购物车计数 | 是 | int |
data>>order_count | 订单数 | 是 | int |
data>>total_sales | 总销售额 | 是 | number |
data>>sales_count | 销售量 | 是 | int |
data>>net_sales | 净销售额 | 是 | number |
data>>product_id | 商品ID | 是 | int |
data>>rate | 转化率 | 是 | number |
data>>unit_price | 客单价 | 是 | number |
data>>session_visits | 浏览量 | 是 | int |
data>>checkout_events | 发起结算计数 | 是 | int |
data>>title | 商品名称 | 是 | string |
data>>image | 商品图片 | 是 | string |
data>>deleted | 是否删除 | 是 | boolean |
data>>public_url | 公开链接 | 是 | string |
all_counts | 总数据 | 是 | object |
all_counts>>add_events | 添加购物车事件计数 | 是 | int |
all_counts>>order_count | 订单数量 | 是 | int |
all_counts>>total_sales | 总销售额 | 是 | number |
all_counts>>sales_count | 销售数量 | 是 | int |
all_counts>>net_sales | 净销售额 | 是 | number |
all_counts>>session_visits | 浏览量 | 是 | int |
all_counts>>checkout_events | 发起结算事件计数 | 是 | int |
all_counts>>rate | 转化率 | 是 | number |
all_counts>>unit_price | 客单价 | 是 | number |
获取销售报告
GET
openapi/2021-08/reports/sales_report
权限:read_report
Query Parameters
Name | Type | Description |
---|---|---|
filter[start]* | String | 查询起始时间,如 2020-01-01 (00:00:00) |
filter[sort] | String | 排序 (-)visits/add_events/checkout_events/order_count/rate/unit_price/sales_count/total_sales |
filter[sales] | String | 是否有销售额,可选:true,false |
filter[end]* | String | 查询结束时间,如 2020-01-01 (00:00:00) |
filter[title] | String | 商品名称/slug/spu/sku |
filter[category_id] | String | 商品分类id |
per_page | String | 每页条目数 |
page | String | 页码 |
Last updated