GET
/
v1
/
team
/
inventory
Get inventory
curl --request GET \
  --url https://api.oneofnone.io/v1/team/inventory \
  --header 'x-api-key: <api-key>'
[
  {
    "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "chip": {
      "name": "<string>",
      "category": "TAG",
      "image": {
        "alt": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "description": "<string>",
        "file_type": "<string>",
        "id": 123,
        "poster_url": "<string>",
        "size": 123,
        "tags": [
          "<string>"
        ],
        "thumbnail_url": "<string>",
        "updated_at": "2023-11-07T05:31:56Z",
        "url": "<string>"
      },
      "sku": "<string>"
    },
    "total_available": 123,
    "total_encoded": 123,
    "total_owned": 123,
    "total_reserved": 123,
    "total_damaged": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

x-api-key
string
header
required

The API key required for accessing protected routes. It should be included in the request headers as x-api-key.

Response

Successfully retrieved team inventory.

team_id
string<uuid> | null

The unique identifier of the team that owns this inventory.

chip
object | null

Information about the NFC chip model in the inventory.

total_available
integer | null

Total number of chips available for encoding and use.

total_encoded
integer | null

Total number of chips that have been encoded with collection data.

total_owned
integer | null

Total number of chips owned by the team.

total_reserved
integer | null

Total number of chips reserved for specific projects or collections.

total_damaged
integer | null

Total number of chips that are damaged or unusable.

created_at
string<date-time>

The timestamp when the inventory record was created.

updated_at
string<date-time> | null

The timestamp when the inventory record was last updated.