Skip to main content
GET
/
products
/
{id}
cURL
curl https://api.neuraldraft.io/v1/products/32 \
  -H "Authorization: Bearer ndsk_live_yourkey"
{
  "id": 32,
  "name": "Cork yoga block (pair)",
  "slug": "cork-yoga-block-pair",
  "price": 2999,
  "currency": "gbp",
  "status": "active",
  "description": "<string>",
  "short_description": "<string>",
  "compare_at_price": 3999,
  "type": "physical",
  "sku": "ND-CORK-PAIR",
  "stock_quantity": 24,
  "track_inventory": false,
  "weight": 0.6,
  "images": [
    "<string>"
  ],
  "metadata": {},
  "category_id": 4,
  "featured": false,
  "published_at": "2023-11-07T05:31:56Z",
  "variants": [
    {
      "id": 71,
      "product_id": 32,
      "name": "Natural cork",
      "price": 2999,
      "sku": "ND-CORK-PAIR-N",
      "stock_quantity": 123,
      "options": {
        "color": "natural"
      },
      "sort_order": 0,
      "is_active": true
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.neuraldraft.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage keys via /projects/me/api-keys. Test-mode keys use the ndsk_test_ prefix.

Path Parameters

id
integer
required
Example:

32

Response

The product.

id
integer
required
Example:

32

name
string
required
Example:

"Cork yoga block (pair)"

slug
string
required
Example:

"cork-yoga-block-pair"

price
integer
required
Example:

2999

currency
string
required
Example:

"gbp"

status
enum<string>
required
Available options:
draft,
active,
archived
Example:

"active"

description
string | null
short_description
string | null
Maximum string length: 500
compare_at_price
integer | null
Example:

3999

type
enum<string>
Available options:
physical,
digital,
service
Example:

"physical"

sku
string | null
Example:

"ND-CORK-PAIR"

stock_quantity
integer | null
Example:

24

track_inventory
boolean
default:false
weight
number<float> | null
Example:

0.6

images
string<uri>[]
metadata
object
category_id
integer | null
Example:

4

published_at
string<date-time> | null
variants
object[]
created_at
string<date-time>
updated_at
string<date-time>