ShopEazydevelopers
API referenceMerchant API BetaStations

The station says it is alive

Beta
Credentials
  • Station token
POST
/v1/merchant/station/check-in

Sent about once a minute: the app version and how many writes the device is holding, for the owner's list of stations. No Idempotency-Key: a repeat only says "still here" again.

Access: a station's token only.

Authorization

stationToken
headerAuthorizationBearer <token>

It may call only the operations whose x-stations lists its kind, on its own store, and acts through the access of the owner or admin who paired it. Unpairing it, or that person leaving the business, ends it (401 station_revoked).

Request Body

application/json
  1. body
appVersion?string
Lengthlength <= 32
waiting?integer
Range0 <= value

Response Body

OK

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.shopeazy.co/v1/merchant/station/check-in' \  -H 'Authorization: Bearer <access_token>' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "data": {    "ok": true  }}