Skip to main content
POST /api/v2/storefront/inventory-sources/{sourceId}/reactivate Re-enables a previously deactivated ad-server source and returns the connection in active state.

Request

curl -X POST https://api.interchange.io/api/v2/storefront/inventory-sources/retail-gam/reactivate \
  -H "Authorization: Bearer $SCOPE3_API_KEY"

Parameters

FieldTypeRequiredNotes
sourceIdstring (path)YesStorefront-scoped inventory source ID

Response

200 OK with the EsaConnection in active state:
{
  "id": "550199",
  "customerId": 4210,
  "provisioningStatus": "active",
  "tenantId": "tnt_acme_gam",
  "mcpUrl": "/mcp/",
  "a2aUrl": "/a2a",
  "adServer": { "type": "google_ad_manager", "networkCode": "12345678" },
  "serviceAccountEmail": "sa-4210@scope3-storefront.iam.gserviceaccount.com",
  "lastError": null,
  "lastErrorCode": null,
  "lastTestedAt": "2026-05-01T08:00:00Z",
  "provisionedAt": "2026-04-25T12:10:00Z",
  "deactivatedAt": null,
  "createdAt": "2026-04-25T12:05:00Z",
  "updatedAt": "2026-05-02T10:05:00Z",
  "inventorySync": null
}
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 this sourceId.
See Errors for the full error contract.

Inventory source tasks

All operations

Deactivate

Soft-delete this source

Test connection

Verify after reactivating

Get ad-server connection

Connection state