Skip to main content
原始 Markdown

按活动查询订单

POST/{version}/api/all-attribution/info

获取详细的归因报告

速率限制:每秒 5 次请求。

version: v2-4-2.

请求

路径参数

versionstring必需
examplev2-4-2

请求头

ApiKeystring必需
default{{ApiKey}}
exampleYOUR_API_KEY

请求体

application/json
start_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.

子字段
string

campaign

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.

子字段
columnstring

conversion_at

orderstring

asc

desc

pageinteger必需

page 1

page_sizeinteger必需

min:1,max:20

unique_featurearray [object]必需
子字段
campaignstring必需

campaign name

请求示例
JSON
{
  "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/json
codeinteger必需
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

响应头