Skip to main content
POST
/
v1
/
api
/
qrcode
/
consume
/
{reservationId}
/
{type}
Mark QR code as consumed (deprecated)
curl --request POST \
  --url http://localhost:3091/v1/api/qrcode/consume/{reservationId}/{type} \
  --header 'Authorization: Bearer <token>'
{
  "status": 404,
  "errorCode": "RESOURCE_NOT_FOUND",
  "message": "Ressource non trouvée",
  "timestamp": "2023-11-07T05:31:56Z",
  "path": "/v1/api/bookings/123",
  "debugInfo": "<string>",
  "suggestions": [
    "<string>"
  ],
  "fieldErrors": [
    {
      "field": "email",
      "message": "must not be blank",
      "rejectedValue": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Path Parameters

reservationId
integer<int32>
required
type
enum<string>
required
Available options:
DEPOSIT,
DELIVERY

Response

QR code consumed