Programmatically handle pricelists?

Programmatically handle pricelists?

2DOIT
Shopify Partner
3 0 0

Hello,

 

I'm working on an integration that will take pricelists from Uniconta and use them in Shopify, inserting them by GraphQL or REST api. (Whichever will work)

 

My input data will look something like this:

[
    {
        "Currency": "DKK",
        "Item": "9988557",
        "PriceList": "Pricelist",
        "SalesPrice": 159.95
    },
	    {
        "Currency": "DKK",
        "Item": "56468",
        "PriceList": "Pricelist",
        "SalesPrice": 240.00
    },
    {
        "Currency": "DKK",
        "Item": "1232132",
        "PriceList": "OtherPriceList",
        "SalesPrice": 26.95
    }
]

In the live version, I will have hundreds of pricelists that each in turn will have hundreds or thousands of items.
Similar for them all is that the price will be a fixed price.

 

The end goal, is to have a pricelist, which will have many different items with individual prices, in Shopify that can be applied to one or more customers. So it's sadly not just updating the product price as different customers will see different prices

Now, I've been researching this today, and I'm nowhere near a suitable solution, so now I come to you for help. 🙂

When you search for this on the internet, there seems to be 3 options; Discounts, pricegroups and pricelists.
As far as I can tell, pricelists would be the appropriate option - however, I can't seem to find any way to actually view pricelists in Shopify and by extension, no way to link them to customers.


I guess my questions are these:

  • Is it even doable?
  • Which api endpoint/method should I use for this?
  • How do I view/link the results in Shopify?
Replies 2 (2)

ChrisLikesCode
Shopify Partner
16 2 5

So Shopify Pricelists are a feature of Shopify Collective which is a Supplier -> Retailer setup that Shopify has. Basically it allows you to setup a supplier sore that can invite other stores as retailers. Supplier's can create pricelists that contain products and special pricing. Retailers can then import those price lists and start selling supplier products. Then, after a retailer makes a sale that contains those products, the supplier receives an order in their Shopify admin that they need to fulfill and ship directly to the customer.

Does that sound like the setup you are going for? 


2DOIT
Shopify Partner
3 0 0

Hi, thanks for your reply.

 

Unfortunately, there are no retailers, the client just wants do display individual prices (if they're different than the product price) for individual customers on their own store.