Skip to main content
PATCH
SDK

Authorizations

Authorization
string
header
required

Provide either a static platform API key or an OAuth2 access token (from /connect/v1/oauth/token) as Authorization: Bearer <token>. Scopes are connect:* (e.g. connect:bookings:write).

Path Parameters

operatorId
string
required

Operator id.

connectionId
string
required

Connection id.

Body

application/json

Ordinary updates cannot change commercialClassification. Use the staff promote path to move private_external to network or native_network.

supplierName
string
status
enum<string>
Available options:
pending,
active,
paused,
errored
market
string
credentials
object
metadata
object

Response

A connection.

id
string
required
operatorId
string
required
supplierName
string
required
status
enum<string>
required
Available options:
pending,
active,
paused,
errored
commercialClassification
enum<string>
required

Who owns and approves distribution for this connection. Set at creation (or via staff promote). Not inferred from the provider auth model.

Available options:
network,
native_network,
private_external
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
providerKey
string | null
providerRegistrationId
string | null
market
string | null
Example:

"US"

webhookSigningSecretLast4
string | null
metadata
object | null