Create a new QR code

POST /Api/QRCodes

Requires verified email; Requires one of the following permissions: Shop.CreateQRCode; Requires the following features to be enabled: Shop

Body

Responses

curl \
 -X POST https://app.lovassy.hu/Api/QRCodes \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"name":"string","email":"hello@example.com"}'
curl \
 -X POST https://app.lovassy.hu/Api/QRCodes \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: text/json"
curl \
 -X POST https://app.lovassy.hu/Api/QRCodes \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/*+json"
Request examples
{
  "name": "string",
  "email": "hello@example.com"
}
Response examples (201)
{
  "id": 42,
  "name": "string",
  "email": "string"
}