Skip to main content
原始 Markdown

订单的首次与末次触点

POST/{version}/api/order/attribution-touch

请求

路径参数

versionstring必需
examplev2-4-2

请求头

ApiKeystring

api secret key

请求体

application/json
order_idsarray [string]必需

The IDs of the order, which Up to 20 orders can be retrieved at a time

子字段
string
请求示例
JSON
{
  "order_ids": [
    "string"
  ]
}

响应

响应体

application/json
codeinteger必需

1:success; other:failed

messagestring必需
dataarray [object]必需nullable
子字段
order_idstring
first_touchpointobjectnullable

First touchpoint(non-direct) of this order

子字段
campaignstring必需

The campaign name

channelstring必需

The channel name, available channel is: direct, referral, creator, ad, email, social media, organic search

sourcestring必需

The traffic source

mediumstring必需

The traffic medium

timestring必需

Time stamp, the timezone follows your store setting

last_touchpointobjectnullable

Last touchpoint(non-direct) of this order

子字段
campaignstring必需

The campaign name

channelstring必需

The channel name, available channel is: direct, referral, creator, ad, email, social media, organic search

sourcestring必需

The traffic source

mediumstring必需

The traffic medium

timestring必需

Time stamp, the timezone follows your store setting

响应头