Quickest way to update prices

schajan
New Member
3 0 0

Hello

I am looking for a way to update prices as quickly as possible; I have about 80k price updates per day to do.
If possible I am looking for something similar to inventoryBulkAdjustQuantityAtLocation.

The best I've come up with by now is something like this

mutation {
Item1: productVariantUpdate(input: {id: "gid://shopify/ProductVariant/3xxxxxxxx2", price: "17.85"}) {productVariant {price}}
Item2: productVariantUpdate(input: {id: "gid://shopify/ProductVariant/3xxxxxxxx2", price: "3112.35"}) {productVariant {price}}
}

which would mean about an hour of price updates only every day (Cost per item: 10, GQL Bucket 200 points; 80'000*10/200/60=66)

Is there anything better?

0 Likes
Greg_Kujawa
Shopify Partner
1016 83 237

If this is for specific Shopify store, why not just use the product import feature in the web admin? Even if there is a product variant limit per-CSV file you could chunk the import into a couple of files and be done?

https://help.shopify.com/en/manual/products/import-export/import-products

 

0 Likes