Skip to main content
PATCH
/
api
/
v2
/
products
/
sku
/
{sku}
Update stock and price
curl --request PATCH \
  --url https://live.nocnocstore.com/api/v2/products/sku/{sku} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "available_quantity": 123,
  "price": 123,
  "currency_code": "<string>"
}
'
{
  "sku": "MY-SKU-001",
  "available_quantity": 75,
  "price": 24.99,
  "currency_code": "USD"
}
At least one of available_quantity or price must be provided. If price is provided, currency_code is required.

Authorization

X-Api-Key
string
required
Your seller API key. Provided by your nocnoc account manager.

Path parameters

sku
string
required
The SKU of the product to update.

Body parameters

available_quantity
integer
New stock quantity. Between 0 and 9999. Required if price is not provided.
price
number
New price. Required if available_quantity is not provided.
currency_code
string
Currency code (ISO). Required if price is provided. Currently only USD is supported.

Returns

The updated product object reflecting the new stock and/or price.
{
  "sku": "MY-SKU-001",
  "available_quantity": 75,
  "price": 24.99,
  "currency_code": "USD"
}