Translations for Tax Rates (Beta)
The Translations Admin GraphQL API is currently available on Catalyst storefronts only.
The following entities are translatable for tax rates:
- Tax Rate Name as
tax_rate_name
Resource fields
Examples
Below are examples of GraphQL queries and mutations for retrieving and managing translation settings for tax rates.
Query a List of Translations
This query returns tax rate translations for the specified resource type, channel, and locale (up to 50).
Request
Response
Example query: Query a list of translations
Query a Translation by Resource ID
This query returns translation(s) by resourceId.
When querying by resourceId, provide the full ID in the format bc/store/taxRate/{id}.
Request
Response
Example query: Query a translation by id
Update a Translation
Request
Response
Example mutation: Update a translation
Delete a Translation
Request
Response
Example mutation: Delete a translation