Menu
translatableResource
Retrieves a resource that has translatable fields. Returns the resource's Translation objects for different locales and markets, along with the original TranslatableContent and digest values needed to register new…
Use it in a workflow
- Add a step and choose the Shopify connector.
- Pick the translatableResource action (under Translatable).
- Fill in the fields below, then reference the result from later steps as
{{translatableresource.response.data}}.
Query
This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.
query TranslatableResource($resourceId: ID!) {
translatableResource(resourceId: $resourceId) {
resourceId
}
}
Variables
Pass these as a JSON object in the step's Variables field.
{
"resourceId": "string"
}
Response
Read the result with {{translatableresource.response.data.data.translatableResource}}. If the API returns errors, the step fails and they are at {{translatableresource.response.data.errors}}.
Need more? See the Shopify guide for connection setup and behaviour shared by every action.
Was this page helpful?