Light Services

List the authorized user's licenses

Every license the customer holds, newest first.

GET
/me/licenses

Authorization

oauth2 licenses:read
AuthorizationBearer <token>

Access token issued to a third-party application by the store's OAuth2 server.

In: header

Scope: licenses:read

Response Body

application/json

application/json

application/json

curl -X GET "http://localhost:8000/api/me/licenses"
{
  "data": [
    {
      "id": 0,
      "user_id": 0,
      "active": true,
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "licensable_id": 0,
      "licensable_type": "string",
      "expires_at": "2019-08-24T14:15:22Z",
      "expiry_reminder_days": 0,
      "expired_notified_at": "2019-08-24T14:15:22Z",
      "expired": "string"
    }
  ]
}
{
  "message": "string"
}
{
  "message": "string"
}