Tillwire Read the guide
API reference

Me. 1 operations.

1 of them work. Each needs a bearer token with its scope. All operations.

Operations

GET/api/v1/meme.getany token

Answer

Me

Errors: 401, 403, 405, 422, 429

curl -X GET -H "Authorization: Bearer $TOKEN" https://yourshop.example/api/v1/me

Schemas 3

Me

Me is what GET /api/v1/me answers for the calling token: its own data, never another token's, never its secret. Member, Phone and Places are a till token's (null, "" and none for another); EndsAt is when it stops (null for never); State is active in a 200: a stopped token is 401 with auth.token_revoked, auth.token_expired or auth.token_blocked.

ends_atrequiredstring (date-time)
memberrequiredMeMember
phonerequiredstring
placesrequiredarray of MePlace
scopesrequiredarray of string
staterequiredstring
MeMember

MeMember is a till token's member: the account's id and name (its email when it has no name).

idrequiredinteger
namerequiredstring
MePlace

MePlace is a place a till token sells at, with its open dates.

closes_onrequiredstring
keyrequiredstring
namerequiredstring
opens_onrequiredstring

Made from engine/internal/openapi/openapi.json at commit 6c4cbd921. The contract-only operations come from the engine’s stub file, engine/internal/ops.