Query store information
GET https://{handle}.myshopline.com/admin/openapi/v20220901/merchants/shop.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 basic store information based on store ID
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
Response
- 200
- 401
- 429
For more information about status codes, see Http status code.
Response Headers
traceId
traceId
Response Body
dataobject
Response databiz_store_status integerStore business status , to be enabled 1 , in business 2 , closed 3 , frozen 4 , discontinued 5Example:1
created_at stringStore creation time (see IOS 8601 for the format)Example:2021-09-16T13:03:48+08:00
currency stringThe currency in which the store settles with the customer (enumeration reference: IOS 4217)Example:USD
customer_email stringMerchant's email address for contacting customersExample:bar@shoplineapp.com
domain stringMain domain name of the storeExample:handle.myshopline.com
email stringShopline's email address for contacting merchantsExample:foo@shoplineapp.com
iana_timezone stringThe time zone of the storeExample:Asia/Shanghai
id stringUnique ID of the storeExample:1631700219512
language stringWhen the customer enters your online store , the language you see by default can be modified in the store setting-languageExample:en
location_country_code stringWhere the store isExample:CN
name stringStore nameExample:Shopline
standard_logo stringStore standard logoExample:https://d2w9suv6wak03e.cloudfront.net/image/store/3100111249/1624603774370/32c8ea2e39ad480fa7a94d36ce013f25.png?w=102&h=113
updated_at stringThe basic configuration update time of the store (modify the name, domain name, settlement currency, email, time zone, the time will be updated) (see IOS 8601 for the format)Example:2021-09-16T13:03:48+08:00
API Explorer
Debugger
Examples
Was this article helpful to you?
Error loading component.