Update Product Inventory
Update canonical on-hand inventory for a simple product or variant UUID. Multi-variant parent products must be updated through their variant IDs. A successful quantity change emits product.inventory.changed to matching developer webhook subscriptions.
Authorization
Requires an API credential with catalog:write. OmniCommerce derives organizationId from that credential; the request body cannot select or override an organization. ERP-managed and multi-source inventory keeps its existing ownership protections.
Marketplace sync
The update is Omni-only by default. Set syncToMarketplaces to true to create one durable inventory outbox job per marketplace account. Omit targets to sync every enabled, published account for the product, or provide exact { platform, accountId } targets. Every explicit target is validated before inventory changes. The response contains each job ID and immediate target status; use GET /api/v1/jobs/{jobId} for progress.
Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Path Parameters
OmniCommerce simple-product or variant UUID.
Body
New canonical on-hand quantity.
x >= 0Queue durable sync jobs after the Omni inventory update.
Exact enabled and published marketplace accounts. Requires syncToMarketplaces=true.
1 - 25 elementsResponse
Inventory updated; no marketplace job was queued.
developer_v1 true completed, accepted