rate
View as MarkdownGet 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
| 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
idID!required — The rate ID.
Possible returns
RateRate— An individual tax rate.
Last updated on
How is this guide?