Use an owned item

POST /Api/OwnedItems/{id}/Use

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

Path parameters

  • id integer(int32) Required

Body

Responses

POST /Api/OwnedItems/{id}/Use
curl \
 -X POST https://app.lovassy.hu/Api/OwnedItems/{id}/Use \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"qrCodeContent":"string","inputs":{}}'
curl \
 -X POST https://app.lovassy.hu/Api/OwnedItems/{id}/Use \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: text/json"
curl \
 -X POST https://app.lovassy.hu/Api/OwnedItems/{id}/Use \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/*+json"
Request examples
{
  "qrCodeContent": "string",
  "inputs": {
    "Additional properties:": "string"
  }
}
Response examples (404)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}