Support

Get a single rate.

query

Requires commerce.tax:read.

Get a single rate.

value is a union. Select value { __typename ... on RatePercentage { percentage } ... on RateAmount { amount { value currencyCode } } }. There is no value { rate } field.

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

  • id ID! required — The rate ID.

Possible returns

  • Rate Rate — An individual tax rate.

Last updated on

How is this guide?

On this page