Skip to main content
POST /api/v2/storefront/inventory-sources/{sourceId}/deactivate Soft-deletes the ad-server source. The connection row stays in place so the storefront can re-provision later with Reactivate.

Request

Parameters

Response

200 OK with the EsaConnection, now deactivated (deactivatedAt is set):
deactivatedAt is set, which disables the source. The row is preserved for re-provisioning.

Errors

  • 401 UNAUTHORIZED — missing or invalid API key.
  • 404 NOT_FOUND — no ad-server-backed source with this sourceId.
See Errors for the full error contract.

Inventory source tasks

All operations

Reactivate

Re-enable this source

Get ad-server connection

Connection state

Inventory sources overview

Concepts and lifecycle