GET https://{handle}.myshopline.com/admin/openapi/v20220901/markets.json
Query Parameters
  • after string
    After a certain cursor , combined with first , before and after are only allowed to have one value , and the field in this api means marketId
  • before string
    Before a certain cursor , when used in combination with last , before and after only allow one to have value , and the field in this api means marketId
  • first integer
    Front return ( next ) n elements , maximum support 50 , must be with last and only one cannot be empty , such as : there is ABCDE in the current list , at this time first=2 , after=C , then will return de
  • last integer
    Return finally ( previous ) n elements , support up to 50 , must with first and only one can not be empty , such as : there is ABCDE in the current list , at this time last=2 , before=C , then return ab
  • reverse boolean
    Sort and reverse l , such as : query result is ab , at this time reverse=true , then return ba
Request Headers
  • Authorization string required
    Token in standard bearer format
    Example:
    Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
Response

Response Headers
  • traceId
    traceId
Response Body
  • nodesobject[]
    Market list
  • currency_settingsobject
    Currency settings
  • base_currencyobject
    Basic currency
  • currency_code string
    Currency code
  • currency_name string
    Currency name
  • enabled boolean
    Available or not
  • rate_updated_at string
    Rate update time
  • local_currencies boolean
    Local currency
  • enabled boolean
    Open or not
  • id string
    Market id
  • name string
    Market name
  • primary boolean
    Main market or not
  • regionsobject[]
    Market country list
  • code string
    National yard
  • currency_code string
    Currency
  • id string
    Regional id
  • name string
    District
  • web_presenceobject
    Market domain name and language information
  • alternate_locales array
    Optional language code
    Example: ``
  • default_locale string
    Default language code
  • domain string
    Main domain name
  • id string
    Number , currently empty
  • root_urlsobject[]
    Domain name url information that supports all languages in the market
  • locale string
    Corresponding language
  • url string
    Domain name corresponding to language
  • subfolder_suffix string
    Domain name type set by the market is specific * format in the sub-folder : / $ { default language }-$ { custom-finished-back-up }
  • page_infoobject
    Paging information
  • end_cursor string
    End vernier
  • has_next_page boolean
    You or not
  • has_previous_page boolean
    You or not
  • start_cursor string
    Start vernier
API Explorer
https://openapiceshidianpu.myshopline.com/admin/openapi/v20220901

ParamOptions

— header required
— query
— query
— query
— query
— query

Language

curl --request GET \
--url https://openapiceshidianpu.myshopline.com/admin/openapi/v20220901/markets.json \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw' \
--header 'accept: application/json'

Error loading component.

Error loading component.