Skip to main content
GET
/
products
/
{id}
/
variants
cURL
curl https://api.neuraldraft.io/v1/products/32/variants \
  -H "Authorization: Bearer ndsk_live_yourkey"
{
  "data": [
    {
      "id": 71,
      "product_id": 32,
      "name": "Natural cork",
      "sku": "ND-CORK-PAIR-N",
      "price": 2999,
      "stock_quantity": 18,
      "options": {
        "color": "natural"
      },
      "sort_order": 0,
      "is_active": true
    },
    {
      "id": 72,
      "product_id": 32,
      "name": "Charcoal cork",
      "sku": "ND-CORK-PAIR-C",
      "price": 3299,
      "stock_quantity": 6,
      "options": {
        "color": "charcoal"
      },
      "sort_order": 1,
      "is_active": true
    }
  ]
}

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

Variants.

data
object[]
required