POST /api/v2/storefront/inventory-sources/{sourceId}/reactivate
Re-enables a previously deactivated ad-server source and returns the connection in active state.
Request
Parameters
| Field | Type | Required | Notes |
|---|---|---|---|
sourceId | string (path) | Yes | Storefront-scoped inventory source ID |
Response
200 OK with the EsaConnection in active state:
If the upstream managed source is gone, reactivation fails with
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