Skip to main content
POST
Revoke a store connection

Body

application/json
pair_id
string<uuid>
required

The pair_id returned by POST /v1/connect/token.

Example:

"550e8400-e29b-41d4-a716-446655440000"

client_id
string
required

Your application's client identifier.

Example:

"fantastic-storefront"

client_secret
string
required

Your application's client secret.

Example:

"YOUR_CLIENT_SECRET"

revoke_reason
string

Optional reason for revocation. Recorded in the connection log. Common values: user_disconnected, subscription_cancelled.

Example:

"user_disconnected"

Response

Connection revoked (or was already revoked)

success
boolean
Example:

true

message
string

Present only when the connection was already revoked.