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
- Add a step and choose the Shopify connector.
- Pick the priceList action (under Price).
- 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.
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.
{
"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}}.
Need more? See the Shopify guide for connection setup and behaviour shared by every action.
Was this page helpful?