Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to get Wholesale Pricelist information via GraphQL

How to get Wholesale Pricelist information via GraphQL

covrigm
Shopify Partner
2 0 0

We've created different pricelists for our wholesale customers depending on their tier (via the Wholesale sales channel) and we are on shopify plus.  Now we are building an inventory feed (EDI) for them and would like to use the wholesale pricelist information to determine which products and at which price they have access to.   We've been attempting to query the "pricelists" via GraphQL but it doesn't return anything.  Is this not the correct object to query?  Any help/direction would be appreciated.

Replies 3 (3)

ShopifyDevSup
Shopify Staff
1453 238 524

Hi @covrigm 👋

 

The `priceLists` query should return any that are currently available on the merchant's shop. I would recommend reviewing our guide to B2B catalogs and price lists, and this migration guide for any existing price lists that uses the `contextRule` field. There is a great diagram here that highlights how a company connects to a set price list.

 

Hope that helps!

 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

covrigm
Shopify Partner
2 0 0

Some of this references prices for different markets/countries ...does this apply to Wholesale price lists also?  We're also not sure about switching to Catalogs because we use the volume price break capabilities within Wholesale price lists and i dont see that Catalogs have that?

 

Screenshot 2023-04-17 141456.jpg

ShopifyDevSup
Shopify Staff
1453 238 524

Price lists are intended to serve different customer segments as well as market segments. At this time, Admin API doesn't support accessing price lists create with the Wholesale sales channel app. 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog