Process Statistics Synchronization
POST https://{handle}.myshopline.com/admin/openapi/v20260301/sales/flow/batch_sync_flow_data.json
handle : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is open001.myshopline.com , the store handle is open001 .batch sync flow data
Request Headers
- Content-Type string requiredThe field must be set to the fixed value
application/json; charset=utf-8. - Authorization string requiredThe access token for the API resource. Refer to App authorization to obtain the access token, and then pass the obtained token in the Bearer format.Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
Request Body
- app_key string requiredappKeyExample:
ee89294e244543bd9422b446de9dece9cf0ea14e flow_data_listobject[] required
Data list , max 100order_amount long requiredSales , unit divisionorder_num long requiredOrder qtysend_count long requiredNumber of sendExample:1trigger_num long requiredTrigger countExample:4delete_flow_node_data_listobject[]
Process activity removedclick_rate stringClick-throughExample:56.6order_amount long requiredSales , unit divisionExample:344bounce_rate stringBounce back rateExample:10fail_rate stringFailure rateExample:0open_rate stringOpening rateExample:4parent_node_id stringParent node id for sorting , merge showExample:5a206848-5e7e-4e50-93de-01bb4d9c7ac5buyer_num long requiredNumber of users orderedExample:5has_send_num long requiredSent quantityExample:5node_id string requiredNode idExample:5a206848-5e7e-4e50-93de-01bb4d9c7ac5occurred_on long requiredData time , millisecond time stampExample:1672365600000preview_image_url stringPreview picture urlunsubscribe_rate stringThe cancellation rateExample:0has_delivery_num long requiredDelivery quantityExample:5order_num long requiredNumber of ordersExample:5flow_id string requiredProcess idExample:5598349859474639045flow_node_data_listobject[]
Salespreview_image_url stringPreview picture urlExample:https://kmalgo.oss-ap-southeast-1.aliyuncs.com/material_ec2/2022-09-24/be7a1b5b947d47529c97bc78de6bbuyer_num long requiredNumber of users orderedExample:4fail_rate stringFailure rateExample:80has_send_num long requiredSent quantityExample:3node_id string requiredNode idExample:5a206848-5e7e-4e50-93de-01bb4d9c7ac5open_rate stringOpening rateExample:3order_num long requiredNumber of ordersExample:4parent_node_id stringParent node id for sorting , merge showExample:5a206848-5e7e-4e50-93de-01bb4d9c7ac5unsubscribe_rate stringThe cancellation rateExample:0has_delivery_num long requiredDelivery quantityExample:3bounce_rate stringBounce back rateExample:3click_rate stringClick-throughExample:80occurred_on long requiredData time , millisecond time stampExample:1672365600000order_amount long requiredSales , unit divisionExample:220occurred_on long requiredData time , millisecond time stampExample:1672365600000- source_type string requiredSource typeExample:
smartpush-app - store_id string requiredStore idExample:
1658921299465
Status Codes
- 200
- 401
- 429
For the complete list of codes and messages, see Http status code.
Response Headers
traceId
A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise.
API Explorer
Debugger
Examples
Was this article helpful to you?