Get a custom page list
POST https://{handle}.myshopline.com/admin/openapi/v20230301/store/page/customize/list.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
.Query custom page list
Request Headers
- Content-Type requiredThe value of this field is fixed to
application/json; charset=utf-8
- Authorization string requiredThe access token for the API. Please refer to App authorization to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
Request Body
reqobject
Request parameterscreated_at_max stringShow pages created before this date , format : yyyy-MM-dd HH : mm : ssExample:2022-12-27 17:17:02
created_at_min stringShow pages created after this date , format : yyyy-MM-dd HH : mm : ssExample:2022-12-27 17:17:02
handle stringZidingyi for custom pagesExample:page_handle
page_num integer requiredPage numberExample:1
page_size integer requiredDisplayed number, cannot exceed 250, default 50Example:10
search_by_source integerWhether to query according to the source, 1 (yes); 0 (no)Example:1
since_id longOnly query pages after this IDExample:5734528158155678000
sort_field integerSorting field , optional value : 1 ( according to the update time ) ; default sorting by idExample:1
sort_type integerSorting type , optional value : 0 ( ascending , default ) ; 1 ( descending )title stringTitle of custom pageExample:demo-page
updated_at_max stringShow pages updated before this date , format : yyyy-MM-dd HH : mm : ssExample:2022-12-27 17:17:02
updated_at_min stringShow pages updated after this date , format : yyyy-MM-dd HH : mm : ssExample:2022-12-27 17:17:02
Response
- 200
- 401
- 429
For more information about status codes, see Http status code.
Response Headers
traceId
traceId
Response Body
dataobject
Response informationlast_page booleanLast page , true ( yes ) ; false ( no ) or notExample:true
listobject[]
Custom page listauthor stringAuthor of custom pagesExample:4200057040
body_html stringContent of the custom pageExample:<p>demo-page-content</p>
created_at stringCreated time , format : yyyy-MM-dd HH : mm : ss.SSSExample:2022-12-27 17:17:02
handle stringThe handle of the custom pageExample:page_handle
id stringId for custom pagesExample:5734528158155677719
store_id longstore IDExample:1628737575003
template_name stringTemplate nameExample:templates/page.json
template_type integerTemplate type , optional value : 1 ( shop ) ; 2 ( theme )Example:2
title stringTitle of custom pageExample:demo-page
updated_at stringUpdate time , format : yyyy-MM-dd HH : mm : ss.SSSExample:2022-12-27 17:17:02
page_num integerPage numberExample:1
page_size integerPage sizeExample:10
total longTotal quantityExample:100
- msg stringError message
API Explorer
Debugger
Examples
Was this article helpful to you?
Error loading component.