Contents

Keep prices and stock current

Send price and stock changes in bulk, without touching the rest of the product.

Prices and stock change far more often than anything else. Send just those, by variant SKU, up to 1,000 lines per call — only the price lists and locations you name change:

curl -X PUT https://api-catalog.nucleoplatform.com/api/catalog/v1/stock \
  -H "Authorization: Bearer $NUCLEO_CATALOG_KEY" \
  -H "Content-Type: application/json" \
  -d '{"stock": [
    {"sku": "TEE-001-M", "location": "main", "available": 12},
    {"sku": "TEE-001-L", "location": "main", "available": 0}
  ]}'

The answer has one result per line, in order: updated, or invalid / failed with the reason (for example an unknown SKU). available replaces the quantity at that location.