Translations for Order Statuses (Beta)
The Translations Admin GraphQL API is currently available on Catalyst storefronts only.
The following entities are translatable for order statuses:
- Label as
label
Order status IDs are predefined and static (0–14). Merchants can only change the status name. See the Order Status REST API for the full list of statuses and their IDs.
Resource fields
Examples
Below are examples of GraphQL queries and mutations for retrieving and managing translation settings for order statuses.
Query a List of Translations
This query returns up to 2 order status translations for the specified resource type, channel, and locale.
The request below uses several variables for reusability. Replace {{channel_id}} and {{locale_code}} with the appropriate values for your use case.
Request
Response
Query a Translation by Resource ID
This query returns translation(s) by resourceId.
The request below uses several variables for reusability. Replace {{resourceId}}, {{channel_id}}, and {{locale_code}} with appropriate values for your use case. Make sure resourceId follows the format from the Resource fields table.
Request
Response
Update a Translation
This mutation updates translated values for order statuses for a specific channel and locale.
Request
Response
Delete a Translation
The following mutation removes translated values for specified order status fields, reverting them to the original values for a specific channel and locale.