GET
/
v1
/
products
/
{id}
curl --request GET \
  --url https://api.oneofnone.io/v1/products/{id} \
  --header 'x-api-key: <api-key>'
{
  "attributes": {},
  "collection_id": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "grade": 123,
  "id": 123,
  "image": {
    "url": "<string>"
  },
  "is_vaulted": true,
  "name": "<string>",
  "registered_at": "2023-11-07T05:31:56Z",
  "slug": "<string>",
  "status": "<string>",
  "token_id": 123,
  "updated_at": "2023-11-07T05:31:56Z",
  "video": {
    "url": "<string>"
  },
  "gallery": [
    {
      "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>",
      "order": 123,
      "variants": [
        "<string>"
      ],
      "type": "<string>"
    }
  ]
}

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.

Path Parameters

id
string
required

The unique identifier or token ID of the product.

Query Parameters

collection_slug
string

The slug of the collection to which the product belongs.

Response

200
application/json
Successfully retrieved the product.
attributes
object | null
collection_id
integer | null
created_at
string
description
string | null
grade
integer | null
id
integer
image
object | null
is_vaulted
boolean | null
name
string | null
registered_at
string | null
slug
string | null
status
string | null
token_id
integer | null
updated_at
string | null
video
object | null

The gallery items related to the product.