Skip to main content

testDeliveryPartnerConnection

Requires permission settings:integration:update.

Makes a real call to the delivery provider to check the stored credentials, records the result and returns the provider's exact rejection when it fails. A partner must pass this before it can be enabled. Needs the delivery partners plan feature and permission to update integrations.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation TestDeliveryPartnerConnection($id: ID!) {
testDeliveryPartnerConnection(id: $id) {
keysCheckDetail
keysCheckedAt
keysValid
needsReverification
webhookReachable
webhookRegisteredAt
}
}

Variables:

{
"id": "id"
}

Response:

{
"data": {
"testDeliveryPartnerConnection": {
"keysCheckDetail": "string",
"keysCheckedAt": "string",
"keysValid": true,
"needsReverification": true,
"webhookReachable": true,
"webhookRegisteredAt": "string"
}
}
}
testDeliveryPartnerConnection(
id: ID!
): DeliveryPartnerVerification!

Arguments​

testDeliveryPartnerConnection.id ● ID! non-null scalar​

The ID of the delivery partner configuration.

Type​

DeliveryPartnerVerification object​

The result of checking a delivery partner's credentials and webhook.