Requires read_store_information access scope.
For more info , refer to:
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 required
    The value of this field is fixed to application/json; charset=utf-8
  • Authorization string required
    The 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
For more information about status codes, see Http status code.

Response Headers
  • traceId
    traceId
Response Body
  • dataobject
    Response data
  • biz_store_status integer
    Store business status , to be enabled 1 , in business 2 , closed 3 , frozen 4 , discontinued 5
    Example: 1
  • created_at string
    Store creation time (see IOS 8601 for the format)
    Example: 2021-09-16T13:03:48+08:00
  • currency string
    The currency in which the store settles with the customer (enumeration reference: IOS 4217)
    Example: USD
  • customer_email string
    Merchant's email address for contacting customers
    Example: bar@shoplineapp.com
  • domain string
    Main domain name of the store
    Example: handle.myshopline.com
  • email string
    Shopline's email address for contacting merchants
    Example: foo@shoplineapp.com
  • iana_timezone string
    The time zone of the store
    Example: Asia/Shanghai
  • id string
    Unique ID of the store
    Example: 1631700219512
  • language string
    When the customer enters your online store , the language you see by default can be modified in the store setting-language
    Example: en
  • location_country_code string
    Where the store is
    Example: CN
  • name string
    Store name
    Example: Shopline
  • standard_logo string
    Store standard logo
    Example: https://d2w9suv6wak03e.cloudfront.net/image/store/3100111249/1624603774370/32c8ea2e39ad480fa7a94d36ce013f25.png?w=102&h=113
  • updated_at string
    The 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
https://openapiceshidianpu.myshopline.com/admin/openapi/v20220901

ParamOptions

— header required

Language

curl --request GET \
--url https://openapiceshidianpu.myshopline.com/admin/openapi/v20220901/merchants/shop.json \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'accept: application/json'
Examples
Get store information
Response
{
"data": {
"biz_store_status": 2,
"created_at": "2021-09-01T17:19:31+08:00",
"currency": "HKD",
"customer_email": "elk@shoplineapp.com",
"domain": "elk2.myshopline.com",
"email": "elk@shoplineapp.com",
"iana_timezone": "Asia/Taipei",
"id": 1630487983865,
"language": "zh-hans-cn",
"location_country_code": "SG",
"name": "响亮的店铺",
"standard_logo": "",
"updated_at": "2022-12-13T10:12:43+08:00"
}
}

Error loading component.

Error loading component.