DELETE /api/v2/storefront/inventory-sources/{sourceId}
Deletes an inventory source. The linked agent is disabled before the row is removed.
Request
Parameters
| Field | Type | Required | Notes |
|---|---|---|---|
sourceId | string (path) | Yes | Storefront-scoped inventory source ID |
Response
204 No Content — no response body on success.
Errors
400 VALIDATION_ERROR— the backing agent still has non-terminal media buys.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
Update inventory source
Disable instead of delete
List inventory sources
Every source on the storefront