订单的首次与末次触点
POST
/{version}/api/order/attribution-touch请求
路径参数
versionstring必需example
v2-4-2请求头
ApiKeystringapi secret key
请求体
application/jsonorder_idsarray [string]必需The IDs of the order, which Up to 20 orders can be retrieved at a time
子字段
string请求示例
JSON
{
"order_ids": [
"string"
]
}响应
响应体
application/jsoncodeinteger必需1:success; other:failed
messagestring必需dataarray [object]必需nullable子字段
order_idstringfirst_touchpointobjectnullableFirst 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_touchpointobjectnullableLast 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