Token Info
You can retrieve metadata about a given customer access token. This is useful for verifying whether a token is valid, understanding what scopes it includes, and checking its expiration.
Request Method: GET
Request Host: shop host (e.g. https://{{handle}}.shoplineapp.com)
Request Endpoint: /oauth/token/info
Request Body: N/A
Request Header:
| Name | Type | Example |
|---|---|---|
| Authorization | String | Bearer <Customer Access Token> |
Request URL example:
GET {{shop_host}}/oauth/token/info
Example Response:
Status Code | Example Response Body |
|---|---|
200 OK | Token information is successfully retrieved. |
400 Bad Request | Invalid or missing token provided. |
Updated 2 days ago
