Translations for Shipping Methods (Beta)
The Translations Admin GraphQL API is currently available on Catalyst storefronts only.
The following entities are translatable for shipping methods:
- Shipping Method Name as
shipping_method_name
Resource fields
Examples
Below are examples of GraphQL queries and mutations for retrieving and managing translation settings for shipping methods.
Query a List of Translations
This query returns shipping method 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 a translation by resourceId.
When querying by resourceId, provide the full ID in the format bc/store/shippingMethod/{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