/connect/{vendor}/*) implements these three meta-routes before vendor-specific data routes (orders, catalog, results).
Auth: Customer API key with integrations scope. Partner master keys (accounts scope) are rejected with 403.
Platform liveness (not vendor-specific): GET /connect/health — no auth.
Every vendor namespace implements these three meta-routes:
Do not conflate platform health (
GET /connect/health) with vendor health.
POST /connect/{vendor}/integrations
Save vendor credentials for the authenticated customer’s org + team.
object
required
Vendor-specific configuration. Must include a vendor discriminator where applicable (e.g.
StubVendor).Success — 201 Created
healthy reflects the probe at save time. Probe failures on POST do not return 502 — use GET /health for strict HTTP status semantics.
Errors
- cURL (stub)
GET /connect/{vendor}/health
Live connectivity check using stored credentials.
Healthy — 200 OK
lastCheckedAt is the timestamp of this probe (not cached).
Unhealthy vendor state
When the vendor is reachable but reports unhealthy (timeout, rejected credentials, etc.), responses may use 502 or 504 withdata.healthy: false in the success envelope, or a standardized error envelope for credential rejection:
See Error envelope for
VENDOR_* codes.
Errors
DELETE /connect/{vendor}/integrations
Disconnect — removes the integration row.
Success — 200 OK
archived: true is the partner-facing disconnect signal.
Errors
Stub vendor (non-production)
Thestub vendor is available only when NODE_ENV is development, test, or staging. Use it for smoke tests — see Getting started.
Related
- Connect overview — domains and prefixes
- Error envelope — full code taxonomy

