Support

removeRatesFromClassification

View as Markdown

Remove existing rates from an existing classification.

mutation

Requires commerce.tax:write.

Remove existing rates from an existing classification.

Required headers

HeaderRequiredDescription
x-store-idYesID 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

  • classificationId ID! required — The ID of the classification to which the rates should be removed.
  • input MutationRemoveRatesFromClassificationInput! required
    • rateIds [ID!]! required — The IDs of the rates to be removed from the classification.

Possible returns

  • Classification Classification — A grouping of rates that share common taxation criteria.

Last updated on

How is this guide?