Update a QR code
Requires verified email; Requires one of the following permissions: Shop.UpdateQRCode; Requires the following features to be enabled: Shop
Path parameters
-
id
integer(int32) Required
application/json
PATCH
/Api/QRCodes/{id}
cURL (application/json)
curl \
-X PATCH https://app.lovassy.hu/Api/QRCodes/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"string","email":"hello@example.com"}'
curl \
-X PATCH https://app.lovassy.hu/Api/QRCodes/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: text/json"
curl \
-X PATCH https://app.lovassy.hu/Api/QRCodes/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/*+json"
Request example
{
"name": "string",
"email": "hello@example.com"
}
Request examples
{
"name": "string",
"email": "hello@example.com"
}
Request examples
{
"name": "string",
"email": "hello@example.com"
}
Response examples (404)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}