Query market list
GET https://{handle}.myshopline.com/admin/openapi/v20220901/markets.json
Query Parameters
- after stringAfter 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 stringBefore 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 integerFront 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 integerReturn 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 booleanSort and reverse l , such as : query result is ab , at this time reverse=true , then return ba
Request Headers
- Authorization string requiredToken in standard bearer formatExample:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
Response
- 200
Response Headers
traceId
traceId
Response Body
nodesobject[]
Market listcurrency_settingsobject
Currency settingsbase_currencyobject
Basic currencycurrency_code stringCurrency codecurrency_name stringCurrency nameenabled booleanAvailable or notrate_updated_at stringRate update timelocal_currencies booleanLocal currencyenabled booleanOpen or notid stringMarket idname stringMarket nameprimary booleanMain market or notregionsobject[]
Market country listcode stringNational yardcurrency_code stringCurrencyid stringRegional idname stringDistrictweb_presenceobject
Market domain name and language informationalternate_locales arrayOptional language codeExample: ``default_locale stringDefault language codedomain stringMain domain nameid stringNumber , currently emptyroot_urlsobject[]
Domain name url information that supports all languages in the marketlocale stringCorresponding languageurl stringDomain name corresponding to languagesubfolder_suffix stringDomain name type set by the market is specific * format in the sub-folder : / $ { default language }-$ { custom-finished-back-up }page_infoobject
Paging informationend_cursor stringEnd vernierhas_next_page booleanYou or nothas_previous_page booleanYou or notstart_cursor stringStart vernier
API Explorer
Debugger
Was this article helpful to you?
Error loading component.