MyNearStoresPartners
Lightspeed

Check a terminal's Lightspeed connection

GET
/lightspeed/oauth/status/{bu_id}/{terminal_id}

Path Parameters

bu_id*integer

Business unit ID.

terminal_id*integer

Response Body

Connection state.

application/json
  1. response
connected*unknown
domain_prefix*string

The yourstore in yourstore.retail.lightspeed.app.

bu_id*integer
terminal_id*integer
expires_at*string
Formatdate-time
is_expired*boolean
scopes*array<string>
created_at?string
Formatdate-time
updated_at?string
Formatdate-time
curl -X GET "https://example.com/lightspeed/oauth/status/0/0"
{  "connected": true,  "domain_prefix": "string",  "bu_id": 0,  "terminal_id": 0,  "expires_at": "2019-08-24T14:15:22Z",  "is_expired": true,  "scopes": [    "string"  ],  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}