Process Statistics Synchronization
POST https://{handle}.myshopline.com/admin/openapi/v20261201/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 eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6MCwiYXBwS2V5IjoiNzU2ZjI1NWE2NjdlZTcwNTk1MzM0ZjVjYzk4NzU5MzBmN2E3NGZjMSIsImV4cCI6MTg3OTQ4MjA3NiwiaXNzIjoieXNvdWwiLCJzZWxsZXJJZCI6IjIwMDAyMzQ4ODAiLCJzdG9yZUlkIjoiMTY3MjM2OTcyOTYwNiIsInRpbWVzdGFtcCI6MTc4NDc4NzY3NjY2MSwidmVyc2lvbiI6IlYyIn0.3ZzbGAH4cLU1QR2VPEvMOQInUDvus-C4amkINSQIPuNVlXsFKj0sAt1c0KnUy9MWUOFV9cHlkf7J90r2y1FzpA
Request Body
- app_key string requiredappKeyExample:
ee89294e244543bd9422b446de9dece9cf0ea14e flow_data_listobject[] required
Data list , max 100occurred_on long requiredData time , millisecond time stampExample:1672365600000order_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 removedorder_amount long requiredSales , unit divisionExample:344bounce_rate stringBounce back rateExample:10open_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:5occurred_on long requiredData time , millisecond time stampExample:1672365600000has_delivery_num long requiredDelivery quantityExample:5click_rate stringClick-throughExample:56.6fail_rate stringFailure rateExample:0node_id string requiredNode idExample:5a206848-5e7e-4e50-93de-01bb4d9c7ac5preview_image_url stringPreview picture urlunsubscribe_rate stringThe cancellation rateExample:0order_num long requiredNumber of ordersExample:5flow_id string requiredProcess idExample:5598349859474639045flow_node_data_listobject[]
Salesfail_rate stringFailure rateExample:80parent_node_id stringParent node id for sorting , merge showExample:5a206848-5e7e-4e50-93de-01bb4d9c7ac5unsubscribe_rate stringThe cancellation rateExample:0has_delivery_num long requiredDelivery quantityExample:3occurred_on long requiredData time , millisecond time stampExample:1672365600000order_amount long requiredSales , unit divisionExample:220preview_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:4has_send_num long requiredSent quantityExample:3node_id string requiredNode idExample:5a206848-5e7e-4e50-93de-01bb4d9c7ac5open_rate stringOpening rateExample:3order_num long requiredNumber of ordersExample:4bounce_rate stringBounce back rateExample:3click_rate stringClick-throughExample:80- 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?