流程统计数据同步
POST https://{handle}.myshopline.com/admin/openapi/v20250601/sales/flow/batch_sync_flow_data.json
handle
:店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com
的店铺,其 handle
是 open001
。批量同步flow统计数据
请求头
- Content-Type required字段值固定为
application/json; charset=utf-8
- Authorization string required资源的访问令牌。请参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
请求体
- app_key string requiredappKeyExample:
ee89294e244543bd9422b446de9dece9cf0ea14e
flow_data_listobject[] required
数据列表,最大100delete_flow_node_data_listobject[]
删除的流程活动bounce_rate string弹回率Example:10
buyer_num long required下单用户数Example:5
click_rate string点击率Example:56.6
fail_rate string失败率Example:0
has_delivery_num long required送达数量Example:5
has_send_num long required已发送数量Example:5
node_id string required节点IdExample:5a206848-5e7e-4e50-93de-01bb4d9c7ac5
occurred_on long required数据时间, 毫秒时间戳Example:1672365600000
open_rate string打开率Example:4
order_amount long required销售额,单位分Example:344
order_num long required订单数Example:5
parent_node_id string父节点Id,用于排序、合并显示Example:5a206848-5e7e-4e50-93de-01bb4d9c7ac5
preview_image_url string预览图片urlunsubscribe_rate string退订率Example:0
flow_id string required流程IDExample:5598349859474639045
flow_node_data_listobject[]
流程活动bounce_rate string弹回率Example:3
buyer_num long required下单用户数Example:4
click_rate string点击率Example:80
fail_rate string失败率Example:0
has_delivery_num long required送达数量Example:3
has_send_num long required已发送数量Example:3
node_id string required节点IdExample:5a206848-5e7e-4e50-93de-01bb4d9c7ac5
occurred_on long required数据时间, 毫秒时间戳Example:1672365600000
open_rate string打开率Example:3
order_amount long required销售额,单位分Example:220
order_num long required订单数Example:4
parent_node_id string父节点Id,用于排序、合并显示Example:5a206848-5e7e-4e50-93de-01bb4d9c7ac5
preview_image_url string预览图片urlExample:https://kmalgo.oss-ap-southeast-1.aliyuncs.com/material_ec2/2022-09-24/be7a1b5b947d47529c97bc78de6b
unsubscribe_rate string退订率Example:0
occurred_on long required数据时间, 毫秒时间戳Example:1672365600000
order_amount long required销售额,单位分order_num long required订单数send_count long required发送数Example:1
trigger_num long required触发数Example:4
- source_type string required来源类型Example:
smartpush-app
- store_id string required店铺IdExample:
1658921299465
响应
- 200
- 401
- 429
API Explorer
调试台
示例代码
这篇文章对你有帮助吗?
Error loading component.