Skip to main content

deleteCopilotSupplierRule

Requires permission catalog:copilot:chat.

Deletes the saved import rules of one supplier and returns whether a rule was removed. Limited to 20 requests a minute. Needs the catalog copilot feature on the plan and permission to chat with the copilot.

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 DeleteCopilotSupplierRule($supplierName: String!) {
deleteCopilotSupplierRule(supplierName: $supplierName)
}

Variables:

{
"supplierName": "string"
}

Response:

{
"data": {
"deleteCopilotSupplierRule": true
}
}
deleteCopilotSupplierRule(
supplierName: String!
): Boolean!

Arguments​

deleteCopilotSupplierRule.supplierName ● String! non-null scalar​

The supplier whose rules to delete. Matched without regard to case or punctuation.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.