API ReferenceCommerceCustomers & ordersTax GraphQLClassificationMutationremoveRatesFromClassification
removeRatesFromClassification
View as MarkdownRemove existing rates from an existing classification.
mutation
Requires commerce.tax:write.
Remove existing rates from an existing classification.
Required headers
| Header | Required | Description |
|---|---|---|
x-store-id | Yes | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: extensions.code: "UNAUTHENTICATED". |
Go to Authentication for credential setup.
Arguments
classificationIdID!required — The ID of the classification to which the rates should be removed.inputMutationRemoveRatesFromClassificationInput!requiredrateIds[ID!]!required — The IDs of the rates to be removed from the classification.
Possible returns
ClassificationClassification— A grouping of rates that share common taxation criteria.
Last updated on
How is this guide?