Query individual marketing events
GET https://{handle}.myshopline.com/admin/openapi/v20261201/sales/marketing_events/:marketing_event_id.json
handle : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is open001.myshopline.com , the store handle is open001 .Path Parameters
- marketing_event_id string requiredYingxiao id for marketing eventsExample:
MA_6062143268514178052
Request Headers
- Content-Type string requiredThe field must be set to the fixed value
application/json; charset=utf-8. - Authorization string requiredThe access token for the API resource. Refer to App authorization to obtain the access token, and then pass the obtained token in the Bearer format.Example:
Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6MCwiYXBwS2V5IjoiNzU2ZjI1NWE2NjdlZTcwNTk1MzM0ZjVjYzk4NzU5MzBmN2E3NGZjMSIsImV4cCI6MTg3OTQ4MjA3NiwiaXNzIjoieXNvdWwiLCJzZWxsZXJJZCI6IjIwMDAyMzQ4ODAiLCJzdG9yZUlkIjoiMTY3MjM2OTcyOTYwNiIsInRpbWVzdGFtcCI6MTc4NDc4NzY3NjY2MSwidmVyc2lvbiI6IlYyIn0.3ZzbGAH4cLU1QR2VPEvMOQInUDvus-C4amkINSQIPuNVlXsFKj0sAt1c0KnUy9MWUOFV9cHlkf7J90r2y1FzpA
Status Codes
- 200
- 401
- 429
For the complete list of codes and messages, see Http status code.
Response Headers
traceId
A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise.
Response Body
marketing_eventobject
Marketing eventsremote_id stringResources idExample:6019937434467761334utm_term stringKey words for identification searchExample:This key word for searchutm_medium stringIdentification source typeExample:emailutm_source stringAdvertising customers , advertising websitesExample:manong.myshopline.comutm_campaign stringIdentify specific advertisingExample:googlemanage_url stringManaged links (Examples link are for reference only)Example:https://manong.myshopline.com/admin/preview_url stringUrl to preview (Examples link are for reference only)Example:https://manong.myshopline.com/marketing_event_id stringYingxiao id for marketing eventsExample:MA_6019942645165466925ended_at stringEnd timeExample:2023-12-15T09:00:00+08:00id stringId for marketing eventsExample:6019937483067761963marketing_channel stringMarketing event select channels ● search ● display ● social ● email ● referral ● smsExample:searchevent_type string●ad : advertising ● post : push ( fb post-chinese ) ● message : sms ● retargeting : dynamic redirect advertising ● transactional : ● affiliate : distribution / kol / red people ●Loyalty : gift card ● newsletter : subscription mail ● abandoned_cart : discard ● live : live broadcastExample:adstarted_at stringStart timeExample:2022-12-15T09:00:00+08:00utm_content stringDistinguish between the same ad and different linksExample:googleAdsdescription stringMarketing campaign descriptionExample:This is description for the marketing eventreferring_domain stringDomain name for marketing events , if marketing_channel is search and social , specify is neededExample:manong.myshopline.com
API Explorer
Debugger
Examples
Was this article helpful to you?