PUT /api/v2/storefront/inventory-sources/{sourceId}
Updates an AGENT inventory source. Updates are partial — send any subset of fields. Status transitions manage the linked agent lifecycle. MANAGED_SALES_AGENT, LINKED_STOREFRONT, and MODULAR_SOURCE lifecycles use their dedicated flows instead.
Request
Parameters
Allowed status transitions:
PENDING → ACTIVE, PENDING → DISABLED, and ACTIVE ↔ DISABLED. A source cannot transition back to PENDING. Setting status: ACTIVE requires the backing agent to be authenticated. AAO compliance is surfaced as an advisory signal, not an activation blocker.Response
200 OK with the updated InventorySourceResponse:
Errors
400 VALIDATION_ERROR— invalid status transition, malformedauth, or no fields supplied.401 UNAUTHORIZED— missing or invalid API key.404 NOT_FOUND— no source with thissourceIdon your storefront.
Related
Inventory source tasks
All operations
Inventory sources overview
Concepts and lifecycle
Get inventory source
Read one source by ID
Delete inventory source
Remove a source