Admin api stores

Verify entry-code by entry

POST
/api/admin/v2/stores/{storeId}/entry/{entryId}/entry-codes/verify

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

storeId*integer

Id of a physical store. The id is required when retailer want to make a call to specified store.

entryId*string

Request Body

application/json

verificationCode*string

An entry code that can rendered as QR and used to enter AiFi store

Response Body

application/json

application/json

curl -X POST "https://oasis-api.public.sandbox.oasis.aifi.com/api/admin/v2/stores/0/entry/string/entry-codes/verify" \  -H "Content-Type: application/json" \  -d '{    "verificationCode": "string"  }'
{
  "status": "OK",
  "sessionId": "string",
  "groupSize": 0,
  "role": "customer"
}
Empty
{
  "message": "Invalid request body",
  "type": "E_INVALID_BODY",
  "errors": [
    {
      "error": "\"email\" is required",
      "rule": "any.required",
      "field": "\"email\""
    }
  ]
}

How is this guide?

AiFI AI Chat

Beta

Powered by AiFi

Ask docs or API questions to get grounded answers.