Get information about a product

GET /Api/Products/{id}

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

Path parameters

  • id integer(int32) Required

Responses

  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties:
  • 200 application/json

    Success

    Hide response attributes Show response attributes object
    • id integer(int32)
    • name string | null
    • description string | null
    • richTextContent string | null
    • visible boolean
    • qrCodeActivated boolean
    • qrCodes array[object] | null
      Hide qrCodes attributes Show qrCodes attributes object
      • id integer(int32)
      • name string | null
      • Additional properties are NOT allowed
    • price integer(int32)
    • quantity integer(int32)
    • userLimited boolean
    • userLimit integer(int32)
    • inputs array[object] | null
      Hide inputs attributes Show inputs attributes object
      • type string | null
      • key string | null
      • label string | null
      • Additional properties are NOT allowed
    • notifiedEmails array[string] | null
    • thumbnailUrl string | null
    • createdAt string(date-time)
    • updatedAt string(date-time)
    • Additional properties are NOT allowed
  • 401

    Unauthorized

  • 403

    Forbidden

GET /Api/Products/{id}
curl \
 -X GET https://app.lovassy.hu/Api/Products/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (404)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (200)
{
  "id": 42,
  "name": "string",
  "description": "string",
  "richTextContent": "string",
  "visible": true,
  "qrCodeActivated": true,
  "qrCodes": [
    {
      "id": 42,
      "name": "string"
    }
  ],
  "price": 42,
  "quantity": 42,
  "userLimited": true,
  "userLimit": 42,
  "inputs": [
    {
      "type": "string",
      "key": "string",
      "label": "string"
    }
  ],
  "notifiedEmails": [
    "string"
  ],
  "thumbnailUrl": "string",
  "createdAt": "2024-05-04T09:42:00+00:00",
  "updatedAt": "2024-05-04T09:42:00+00:00"
}