younifyd
Menu

marketLocalizableResource

A resource that can have localized values for different markets.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the marketLocalizableResource action (under Market).
  3. Fill in the fields below, then reference the result from later steps as {{marketlocalizableresource.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.

graphql
query MarketLocalizableResource($resourceId: ID!) {
  marketLocalizableResource(resourceId: $resourceId) {
    marketLocalizableContent {
      digest
      key
      value
    }
    resourceId
  }
}

Variables

Pass these as a JSON object in the step's Variables field.

resourceIdstringrequired

Find a market localizable resource by ID.

json
{
  "resourceId": "string"
}

Response

Read the result with {{marketlocalizableresource.response.data.data.marketLocalizableResource}}. If the API returns errors, the step fails and they are at {{marketlocalizableresource.response.data.errors}}.

marketLocalizableContentarray<object>
digestobject
keyobject
valueobject
resourceIdstring

Need more? See the Shopify guide for connection setup and behaviour shared by every action.

marketLocalizableResource — Shopify — Documentation