ShopEazydevelopers
API referenceMerchant API BetaPoint Of Sale

The till shift that is open now

Beta
Credentials, one of
  • Station token
  • OAuth access token
Scopes
orders:read
GET
/v1/merchant/stores/{storeId}/registers/current

{ register }: the open shift with its float, or null when none is open. A client reads it to know whether to open one, and to get the id it closes. One shift is open at a time per store.

Access: OAuth scope orders:read; not write-gated.

Authorization

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).

Path Parameters

storeId*string

A store the person can reach. Any other id answers 404, never 403.

Response Body

OK

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.shopeazy.co/v1/merchant/stores/<storeId>/registers/current' \  -H 'Authorization: Bearer <access_token>'
Example Response
{  "data": {    "register": null  }}