How to add a new location when updating a product

Shopify Partner
3 0 0

For some reason, when I write a new location ID that hasn't been in the product before, it doesn't get added. It only works if I manually add the location in the admin panel.

I'm updating using the bulk GraphQL API. (screenshot):



"inventoryQuantities": [{"availableQuantity": 322, "locationId": "gid://shopify/Location/97027293497"}]


Replies 0 (0)