connection.revoked
When it is sent. The shop removed your connection. It is the last event your connection receives, and its keys stop working.
What to do with it. Stop calling the API with this connection’s keys and tell whoever runs the integration.
It arrives as a signed POST to each of your endpoints that chose it, and is also in the event feed. See how events work, including how to check the signature.
The event
Section titled “The event”| Field | Type | Required | What it is |
|---|---|---|---|
id |
string (uuid) | yes | The event id, sent as webhook-id. |
type |
"connection.revoked" |
yes | |
timestamp |
string (date-time) | yes | When it happened. |
data |
object | yes | |
data.connection |
object | yes | |
data.connection.id |
string (uuid) | yes | |
data.revoked_at |
string (date-time) | yes | RFC 3339. Answers are in UTC; requests may carry any offset. |