Skip to main content
PATCH
cURL

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

Body

application/json
name
string
slug
string
description
string
short_description
string
Maximum string length: 500
price
integer
compare_at_price
integer | null
currency
string
type
enum<string>
Available options:
physical,
digital,
service
status
enum<string>
Available options:
draft,
active,
archived
sku
string
stock_quantity
integer | null
track_inventory
boolean
weight
number<float> | null
images
string<uri>[]
category_id
integer | null
published_at
string<date-time>
metadata
object

Response

Updated.

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>