v1

latestOpenAPI 3.0.02026-07-26318168886.7 KB
Tokens

Get Token Info

Retrieve information of the access token<br>抓取access token的信息

get/token/info

Response

OK

staffobject

staff information of the token<br>token的管理員信息

merchantobject

merchant information of the token<br>token的店家信息

Example response

{
  "staff": {
    "_id": "5ec5e201d8aedd002d744537",
    "email": "archer@gmail.com",
    "locale_code": "en",
    "merchant_ids": [
      "58e4736a9a76f0174c000278",
      "5e840cae77cb07003243f7c7"
    ],
    "name": "archer1"
  },
  "merchant": {
    "_id": "5e840cae77cb07003243f7c7",
    "email": "archer@shopline.com",
    "handle": "archertesttest",
    "name": "Archer Tester"
  }
}