查询页面详情信息
POST https://{handle}.myshopline.com/admin/openapi/v20250601/store/page/customize/id.json
handle
:店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com
的店铺,其 handle
是 open001
。支持通过页面ID查询自定义页面详情(返回自定义路由)
请求头
- Content-Type required字段值固定为
application/json; charset=utf-8
- Authorization string required资源的访问令牌。请参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
请求体
reqobject required
请求page_id string required页面idExample:6515896407215317133
响应
- 200
- 401
- 429
更多状态码信息请参考 HTTP 状态码
响应头
traceId
traceId
响应体
dataobject
dataauthor string管理员名称Example:"Alvin"
body_html stringhtml文档Example:"content of the page"
created_at string创建时间,格式yyyy-MM-dd HH:mm.SSSExample:"2024-06-18 18:16:39.792"
custom_urlobject
店面上产品的自定义URLis_customized string是否自定义Example:true
url string店面上的产品URL,大于等于0个字符,小于等于512个字符Example:"/custom-url"
handle string页面handle,格式 /page/{handle}Example:"pagecustomUrl"
id string页面idExample:"6515896407215317133"
published_at string发布时间,格式yyyy-MM-dd HH:mm.SSSExample:"2024-06-20 17:50:45.460"
published_status boolean是否发布Example:true
store_id long店铺idtemplate_name string模版名称Example:"templates/page.html"
template_type integer模版类型title string页面标题Example:"title"
updated_at string更新时间,格式yyyy-MM-dd HH:mm.SSSExample:"2024-06-20 17:50:45.460"
- msg string错误信息
API Explorer
调试台
这篇文章对你有帮助吗?
Error loading component.