younifyd
Menu

priceList

Returns a PriceList by ID. You can use price lists to specify either fixed prices or adjusted relative prices that override initial Product prices.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the priceList action (under Price).
  3. Fill in the fields below, then reference the result from later steps as {{pricelist.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 PriceList($id: ID!) {
  priceList(id: $id) {
    catalog {
      id
      operations {
        id
        processedRowCount
        rowCount
        status
      }
      priceList
      publication {
        app
        autoPublish
        catalog
        id
        name
        operation
        supportsFuturePublishing
      }
      status
      title
    }
    currency
    fixedPricesCount
    id
    name
    parent {
      adjustment {
        type
        value
      }
      settings {
        compareAtMode
      }
    }
  }
}

Variables

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

idstringrequired

The ID of the `PriceList` to return.

json
{
  "id": "string"
}

Response

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

catalogobject
idstring
operationsarray<object>
priceListobject

Recursive reference to PriceList, not further expanded.

publicationobject7 fields
statusstring

One ofACTIVEARCHIVEDDRAFT

titlestring
currencystring

One ofUSDEURGBPCADAFNALLDZDAOAARSAMDAWGAUDBBDAZNBDTBSDBHDBIFBYNBZDBMDBTNBAMBRLBOBBWPBNDBGNMMKKHRCVEKYDXAFCLPCNYCOPKMFCDFCRCHRK

fixedPricesCountnumber
idstring
namestring
parentobject
adjustmentobject2 fields
settingsobject1 fields

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

Was this page helpful?
priceList — Shopify — Documentation