Returns a price list resource by ID.


Anchor to id
id
required

The ID of the PriceList to return.


Was this section helpful?

Anchor to PriceList
PriceList
Access requirements

Represents a price list, including information about related prices and eligibility rules. You can use price lists to specify either fixed prices or adjusted relative prices that override initial product variant prices. Price lists are applied to customers using context rules, which determine price list eligibility.

For more information on price lists, refer to Support different pricing models.


Was this section helpful?

Examples

Hide code
DescriptionCopy
query {
  priceList(id: "gid://shopify/PriceList/524058083") {
    catalog {
      id
      title
    }
    prices(first: 5, query: "product_id:20995642") {
      nodes {
        price {
          amount
          currencyCode
        }
        variant {
          id
        }
      }
    }
    currency
    parent {
      adjustment {
        type
        value
      }
    }
  }
}
Hide code
Response
JSON
{
  "priceList": {
    "catalog": {
      "id": "gid://shopify/MarketCatalog/307400570",
      "title": "Just a simple catalog for a US Price List"
    },
    "prices": {
      "nodes": [
        {
          "price": {
            "amount": "9.0",
            "currencyCode": "USD"
          },
          "variant": {
            "id": "gid://shopify/ProductVariant/30322695"
          }
        },
        {
          "price": {
            "amount": "13.5",
            "currencyCode": "USD"
          },
          "variant": {
            "id": "gid://shopify/ProductVariant/113711323"
          }
        },
        {
          "price": {
            "amount": "13.5",
            "currencyCode": "USD"
          },
          "variant": {
            "id": "gid://shopify/ProductVariant/236948360"
          }
        }
      ]
    },
    "currency": "USD",
    "parent": {
      "adjustment": {
        "type": "PERCENTAGE_DECREASE",
        "value": 10
      }
    }
  }
}