Skip to main content
原始 Markdown

订单的客户旅程

POST/{version}/api/order/event

请求

路径参数

versionstring必需
examplev2-4-2

请求头

ApiKeystring

api secret key

请求体

application/json
order_idstring必需

The ID of the order

pageinteger必需
page_sizeinteger必需

min:1;max:100

请求示例
JSON
{
  "order_id": "string",
  "page": 0,
  "page_size": 0
}

响应

响应体

application/json
codeinteger必需
messagestring必需
dataobject必需
子字段
order_idstring必需
totalinteger必需

Total amount of events

pageinteger必需
page_sizeinteger必需
eventsarray [object]必需
子字段
event_idstring
event_atstring

Time stamp in YYYYMMDD HH:ii:ss

event_page_urlstring

The page URL

event_page_titlestring

The page title

event_page_referrerstring

Refferral address from last hop

event_page_ipstring

Visitor's IP address

event_page_user_agentstring

Visitor's user agent

event_campaignstring

The event campaign name

event_sourcestring

The traffic source of this event

event_mediumstring

The medium of this event

event_typestring

Event type: ads, Email, social media, organic search, referral, influencer, direct

creatorobjectnullable

The influencer event detail

子字段
creator_idstring必需

Influencer id

creator_namestring必需

Influencer's name

creator_urlstring必需

The trackable url

creator_short_urlstring必需

The trackable short URL

creator_origin_urlstring必需

landing_page_url

creator_typestring必需

The influencer type: Influencer, affiliate, newmedia

creator_costinteger必需

The one time cost of this campaign

creator_sourcestring必需

删除The campaign source

creator_campaignstring必需

The campaign name

creator_platformstring必需

The platfrom that influencer places the campaign

adobjectnullable

Event detail of ads

子字段
account_idstring必需

The ad account number

account_namestring必需

The ad account name

campaign_idstring必需

Campaign id

campaign_namestring必需

Campaign name

set_idstring必需

Ad set id

set_namestring必需

Ad set name

ad_idstring必需

Ad id

ad_namestring必需

Ad name

ad_platformstring必需

Ad platform

keywordstring必需

The keyword in ad

emailobjectnullable

Email event

子字段
receiver_emailstring必需

The contact's email address

email_platformstring必需

The Email Service Provider

social_mediaobjectnullable

Social media event

子字段
social_media_platformstring必需

The channel name

organic_searchobjectnullable

Organic search event

子字段
organic_search_platformstring必需

The channel name

organic_search_querystring必需

The query string

productsarray [object]nullable

Product information

子字段
other_product_idstring

Product id

other_variant_idstring

Product variant

product_namestring

Product name

variant_namestring

Variant name

final_namestring

Final name

currencystring

The ISO code of the currency.

priceinteger

The price

shop_currency_priceinteger

The price in store's currency

quantityinteger

Product quantity

cart_viewedobjectnullable

Cart viewed event

子字段
currencystring必需

The ISO code of the currency.

total_priceinteger必需

The total price in the cart

shop_currency_total_priceinteger必需

The total price in the cart in store's currency

total_quantityinteger必需

Total quantity

checkout_startedobjectnullable

Checkout started event

子字段
other_order_idstring必需

The ID of the order.

other_order_nostring必需

The integer representation of the order

currencystring必需

The ISO code of the currency.

total_priceinteger必需

The total price of the order in USD

shop_currency_total_priceinteger必需

The total price of the order in store's currency

checkout_completedobjectnullable

Checkout completed event

子字段
other_order_idstring必需

The ID of the order.

other_order_nostring必需

The integer representation of the order

currencystring必需

The ISO code of the currency.

total_priceinteger必需

The total price of the order in USD

shop_currency_total_priceinteger必需

The total price of the order in store's currency

payment_info_submittedobjectnullable

Payment info submitted event

子字段
other_order_idstring必需

The ID of the order.

other_order_nostring必需

The integer representation of the order

currencystring必需

The ISO code of the currency.

total_priceinteger必需

The total price of the order

shop_currency_total_priceinteger必需

The total price of the order in store's currency

search_submittedobjectnullable

Search submitted event

子字段
search_querystring

The search term

响应头