查询单个营销事件
GET https://{handle}.myshopline.com/admin/openapi/v20250601/sales/marketing_events/:marketing_event_id.json
handle
:店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com
的店铺,其 handle
是 open001
。根据marketing_event_id查询营销事件
路径参数
- marketing_event_id string required营销事件的唯一idExample:
MA_6062143268514178052
请求头
- Content-Type required字段值固定为
application/json; charset=utf-8
- Authorization string required资源的访问令牌。请参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
响应
- 200
- 401
- 429
更多状态码信息请参考 HTTP 状态码
响应头
traceId
traceId
响应体
marketing_eventobject
营销事件description string营销活动描述Example:This is description for the marketing event
ended_at string结束时间Example:2023-12-15T09:00:00+08:00
event_type string● ad:广告 ● post:推送(FB贴文) ● message:短信 ● retargeting:动态重定向广告 ● transactional: ● affiliate:分销/KOL/红人 ● loyalty:礼品卡 ● newsletter:订阅邮件 ● abandoned_cart:弃单 ● live:直播Example:ad
id string营销事件的idExample:6019937483067761963
manage_url string管理的链接Example:https://manong.myshopline.com/admin/
marketing_channel string营销事件选择的渠道● search ● display ● social ● email ● referral ● smsExample:search
marketing_event_id string营销事件的唯一idExample:MA_6019942645165466925
preview_url string预览的urlExample:https://manong.myshopline.com/
referring_domain string营销事件的目的域名,如果marketing_channel是search和social的时候,需要指定Example:manong.myshopline.com
remote_id string资源idExample:6019937434467761334
started_at string开始时间Example:2022-12-15T09:00:00+08:00
utm_campaign string标识具体的广告Example:google
utm_content string区分同一个广告不同的链接Example:googleAds
utm_medium string标识来源类型Example:email
utm_source string广告客户、广告网站Example:manong.myshopline.com
utm_term string标识搜索的关键字Example:This key word for search
API Explorer
调试台
示例代码
这篇文章对你有帮助吗?
Error loading component.