POST /api/v2/storefront/inventory-sources/{sourceId}/reactivate
Re-enables a previously deactivated ad-server source and returns the connection with deactivatedAt cleared.
Request
Parameters
Response
200 OK with the EsaConnection, now re-enabled (deactivatedAt is null):
If the upstream managed source is gone, reactivation fails with
400 VALIDATION_ERROR (reason TENANT_NOT_FOUND) and you must create a fresh connection instead via Replace ad-server config.Errors
400 VALIDATION_ERROR— upstream managed source is gone (TENANT_NOT_FOUND); provision a fresh connection.401 UNAUTHORIZED— missing or invalid API key.404 NOT_FOUND— no ad-server-backed source with thissourceId.
Related
Inventory source tasks
All operations
Deactivate
Soft-delete this source
Test connection
Verify after reactivating
Get ad-server connection
Connection state