/v1 is additive only: operations, fields, enum members and error codes are added, never removed, renamed or retyped. A breaking change would ship as /v2 alongside v1, with at least 12 months' notice. Tolerate unknown fields and unknown enum members to stay compatible. See Versioning and support.
Adjust lot stock with signed quantities, traceability and API attribution.
base_qty to add or remove stock, with an ADJUSTMENT movement, optional notes and applicable accounting entries.quantity_base without a movement or adjustment journal entry.inventory:write. Send Idempotency-Key on retries; an optional lease guards the state you read. Insufficient stock and archived lots return 409.Update products over the API, with the change pushed to Shopify and QuickBooks.
price, minimum_on_hand, maximum_on_hand, tax1 and tax2 on every product. price, tax1 and tax2 need cost:read.Idempotency-Key on every write, where 1.0 took it only on POST /bills and POST /purchase-orders.lease on every product lot. Send it back on PATCH /product-lots/{lot_id} to have the update refused with 409 STALE_LEASE when the lot changed since your read.output on GET /productions/{production_id}: the lot and location a completed run's output went to.product_code, product_type, operations_cost and the material and recipe fields are not writable, and products are still created and deleted in NutraSoft.api_version 1.2.Webhooks: we tell you when something changes, instead of you asking.
https:// endpoint in Settings, Developer, and we POST a signed JSON envelope within a minute of a change..updated also fires when one of a document's own lines changes, carrying the parent's id, which updated_since polling cannot see.source, naming what caused the change, so an integration that writes back to NutraSoft can ignore its own echo.ping to your real URL and shows you exactly what came back.webhooks object.id and treat snapshot as a routing aid, never as the record.The first public release of the NutraSoft API.
updated_since, created_at and updated_at on products, product lots, sales orders, invoices, purchase orders, customers and suppliers.nsk_test_ keys.Idempotency-Key is accepted on POST /bills and POST /purchase-orders.