按活动查询订单
/{version}/api/all-attribution/info获取详细的归因报告
速率限制:每秒 5 次请求。
version: v2-4-2.
请求
路径参数
versionstring必需v2-4-2请求头
ApiKeystring必需{{ApiKey}}YOUR_API_KEY请求体
application/jsonstart_datestring必需The start date range of the event in ISO format, e.g. 1970-01-01, the time zone should be consistent with your store settings.
end_datestring必需The end date of the event in ISO format, e.g. 1970-01-01, the time zone should be consistent with your store settings.If you want to see the data for 1970-01-01, please enter 1970-01-02.
dimensionsarray [string]必需The input quantity should not exceed 3, campaign/channel/source/medium/landing_page.
子字段
stringcampaign
channel
source
medium
landing_page
modelstring必需First click
Last click
Linear
Position
Full Impact
For other values, please refer to the “name” section in the API documentation (https://developer.attribuly.com/api-429980012)
goalstring必需purchase
add_to_cart
ordersarray [object]the default order is conversion_at desc.
子字段
columnstringconversion_at
orderstringasc
desc
pageinteger必需page 1
page_sizeinteger必需min:1,max:20
unique_featurearray [object]必需子字段
campaignstring必需campaign name
请求示例
{
"start_date": "2026-03-01",
"end_date": "2026-03-18",
"dimensions": [
"campaign"
],
"model": "Linear",
"goal": "purchase",
"orders": [
{
"column": "conversion_at",
"order": "desc"
}
],
"unique_feature": [
{
"campaign": "my google campaign name"
}
],
"page": 1,
"page_size": 20
}响应
响应体
application/jsoncodeinteger必需messagestring必需dataobject必需子字段
totalinteger必需page_sizeinteger必需recordsarray [object]必需子字段
event_final_user_idstring必需target_event_idstring必需target_event_typestring必需conversion_atstring必需Order created at
conversionsinteger必需conversion_valuenumber必需conversion_countinteger必需user_namestring必需user_emailstring必需order_numberstring必需order_idstring必需order_namestring必需is_repeatboolean必需is_new_customerinteger必需total_pricenumber必需Total price
total_discountinteger必需Total discount
quantityinteger必需Quantity
order_itemsarray [object]必需Product list
子字段
product_idstring必需Product id
variant_idstring必需Variant id
namestring必需Product name
titlestring必需Product title
skustring必需Sku
quantityinteger必需Quantity
total_pricenumber必需Total price
total_discountinteger必需Total Discount