Development discussions around Shopify APIs
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
Hi
Looking for a way to update the stock levels in bulk.
Currently from what i can see in the API Documents, you can Adjust Stock in Bulk, But what i am wanting to do is replace the stock in Bulk.
We are uploading stock levels in a Total figure, so the Shopify Store reflects an accurate figure,
Is there anyway to acomplish this?
inventoryBulkAdjustQuantityAtLocation only appears to adjust.
So i am resorting to using:
mutation {
inventoryActivate(
locationId: "gid://shopify/Location/36694392916",
inventoryItemId: "gid://shopify/InventoryItem/33963695997012",
available: 5
)
{
inventoryLevel {
id
available
}
}
}
Is there anyway i can do this in multiples?
What approach did you take in the end. As far as I know there is no way to change the inventory amount, just to adjust it, so it is all about the quickest way to get the data you need I think.
This is when I think you need
I would be interested to know how you did point one, to get all the variants. I have a products api call that will get me the data, but since my store will have 60,000 products I am worried about the speed of it all
Thanks
Grant
User | RANK |
---|---|
5 | |
5 | |
5 | |
4 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022