Skip to main content

deleteDeliveryPartnerConfig

Requires permission settings:integration:delete.

Deletes a delivery partner configuration. The partner is switched off and its webhook URL stops working for good, and the same provider can be set up again later. Needs the delivery partners plan feature and permission to delete 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 DeleteDeliveryPartnerConfig($id: ID!) {
deleteDeliveryPartnerConfig(id: $id)
}

Variables:

{
"id": "id"
}

Response:

{
"data": {
"deleteDeliveryPartnerConfig": true
}
}
deleteDeliveryPartnerConfig(
id: ID!
): Boolean!

Arguments​

deleteDeliveryPartnerConfig.id ● ID! non-null scalar​

The ID of the delivery partner configuration.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.