Get a list of the current user's owned items

GET /Api/OwnedItems/Own

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

Query parameters

  • Filters string
  • Sorts string
  • Page integer(int32)

    Minimum value is 1, maximum value is 2147483647.

  • PageSize integer(int32)

    Minimum value is 1, maximum value is 2147483647.

Responses

  • 200 application/json

    Success

    Hide response attributes Show response attributes object
    • id integer(int32)
    • product object
      Hide product attributes Show product attributes object
      • id integer(int32)
      • name string | null
      • description string | null
      • qrCodeActivated boolean
      • 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
      • thumbnailUrl string | null
      • createdAt string(date-time)
      • updatedAt string(date-time)
      • Additional properties are NOT allowed
    • usedAt string(date-time) | null
    • createdAt string(date-time)
    • updatedAt string(date-time)
    • Additional properties are NOT allowed
  • 401

    Unauthorized

  • 403

    Forbidden

GET /Api/OwnedItems/Own
curl \
 -X GET https://app.lovassy.hu/Api/OwnedItems/Own \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "id": 42,
    "product": {
      "id": 42,
      "name": "string",
      "description": "string",
      "qrCodeActivated": true,
      "inputs": [
        {
          "type": "string",
          "key": "string",
          "label": "string"
        }
      ],
      "thumbnailUrl": "string",
      "createdAt": "2024-05-04T09:42:00+00:00",
      "updatedAt": "2024-05-04T09:42:00+00:00"
    },
    "usedAt": "2024-05-04T09:42:00+00:00",
    "createdAt": "2024-05-04T09:42:00+00:00",
    "updatedAt": "2024-05-04T09:42:00+00:00"
  }
]