Skip to main content
PUT
Update a product

Authorizations

Authorization
string
header
required

HTTP Basic authentication. Use your secret key as the username and an empty string as password. The API key should be base64 encoded in the format 'username:' when sending the Authorization header.

Path Parameters

id
string
required

Body

application/json

Patch payload for a product. All fields are optional; omit a field to leave it unchanged.

name
string
Maximum string length: 255
description
string
price
number
Required range: x >= 0
currency
string
productType
enum<string>
Available options:
physical,
digital
sku
string
Maximum string length: 64
trackStock
boolean
stock
integer
Required range: x >= 0
weight
number
Required range: x >= 0
heightCm
number
Required range: x >= 0
widthCm
number
Required range: x >= 0
lengthCm
number
Required range: x >= 0

Response

Product updated