Skip to main content
Raw Markdown

Customer journey of an order

POST/{version}/api/order/event

Request

Path Params

versionstringrequired
examplev2-4-2

Header Params

ApiKeystring

api secret key

Body Params

application/json
order_idstringrequired

The ID of the order

pageintegerrequired
page_sizeintegerrequired

min:1;max:100

Examples
JSON
{
  "order_id": "string",
  "page": 0,
  "page_size": 0
}

Responses

Body

application/json
codeintegerrequired
messagestringrequired
dataobjectrequired
Child fields
order_idstringrequired
totalintegerrequired

Total amount of events

pageintegerrequired
page_sizeintegerrequired
eventsarray [object]required
Child fields
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

Child fields
creator_idstringrequired

Influencer id

creator_namestringrequired

Influencer's name

creator_urlstringrequired

The trackable url

creator_short_urlstringrequired

The trackable short URL

creator_origin_urlstringrequired

landing_page_url

creator_typestringrequired

The influencer type: Influencer, affiliate, newmedia

creator_costintegerrequired

The one time cost of this campaign

creator_sourcestringrequired

删除The campaign source

creator_campaignstringrequired

The campaign name

creator_platformstringrequired

The platfrom that influencer places the campaign

adobjectnullable

Event detail of ads

Child fields
account_idstringrequired

The ad account number

account_namestringrequired

The ad account name

campaign_idstringrequired

Campaign id

campaign_namestringrequired

Campaign name

set_idstringrequired

Ad set id

set_namestringrequired

Ad set name

ad_idstringrequired

Ad id

ad_namestringrequired

Ad name

ad_platformstringrequired

Ad platform

keywordstringrequired

The keyword in ad

emailobjectnullable

Email event

Child fields
receiver_emailstringrequired

The contact's email address

email_platformstringrequired

The Email Service Provider

social_mediaobjectnullable

Social media event

Child fields
social_media_platformstringrequired

The channel name

organic_searchobjectnullable

Organic search event

Child fields
organic_search_platformstringrequired

The channel name

organic_search_querystringrequired

The query string

productsarray [object]nullable

Product information

Child fields
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

Child fields
currencystringrequired

The ISO code of the currency.

total_priceintegerrequired

The total price in the cart

shop_currency_total_priceintegerrequired

The total price in the cart in store's currency

total_quantityintegerrequired

Total quantity

checkout_startedobjectnullable

Checkout started event

Child fields
other_order_idstringrequired

The ID of the order.

other_order_nostringrequired

The integer representation of the order

currencystringrequired

The ISO code of the currency.

total_priceintegerrequired

The total price of the order in USD

shop_currency_total_priceintegerrequired

The total price of the order in store's currency

checkout_completedobjectnullable

Checkout completed event

Child fields
other_order_idstringrequired

The ID of the order.

other_order_nostringrequired

The integer representation of the order

currencystringrequired

The ISO code of the currency.

total_priceintegerrequired

The total price of the order in USD

shop_currency_total_priceintegerrequired

The total price of the order in store's currency

payment_info_submittedobjectnullable

Payment info submitted event

Child fields
other_order_idstringrequired

The ID of the order.

other_order_nostringrequired

The integer representation of the order

currencystringrequired

The ISO code of the currency.

total_priceintegerrequired

The total price of the order

shop_currency_total_priceintegerrequired

The total price of the order in store's currency

search_submittedobjectnullable

Search submitted event

Child fields
search_querystring

The search term

Response Headers