younifyd
Menu

marketsResolvedValues

Query markets resolved values with cursor paging.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the marketsResolvedValues action (under Markets).
  3. Fill in the fields below, then reference the result from later steps as {{marketsresolvedvalues.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 MarketsResolvedValues($buyerSignal: BuyerSignalInput!) {
  marketsResolvedValues(buyerSignal: $buyerSignal) {
    currencyCode
    priceInclusivity {
      dutiesIncluded
      taxesIncluded
    }
  }
}

Variables

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

buyerSignalobjectrequired

The buyer signal.

countryCodestringrequired

One ofAFAXALDZADAOAIAGARAMAWACAUATAZBSBHBDBBBYBEBZBJBMBTBOBABWBVBRIOBNBGBFBIKHCACVBQKY

json
{
  "buyerSignal": {
    "countryCode": "AF"
  }
}

Response

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

currencyCodestring

One ofUSDEURGBPCADAFNALLDZDAOAARSAMDAWGAUDBBDAZNBDTBSDBHDBIFBYNBZDBMDBTNBAMBRLBOBBWPBNDBGNMMKKHRCVEKYDXAFCLPCNYCOPKMFCDFCRCHRK

priceInclusivityobject
dutiesIncludedboolean
taxesIncludedboolean

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

Was this page helpful?
marketsResolvedValues — Shopify — Documentation