Good morning,
We noticed that for a product which is not stocked at a location:
- calling the REST
/inventory_levels/set.jsonendpoint works just fine, setting the new inventory level in that location - calling the GraphQL
inventorySetQuantitiesmutation returns an error with codeITEM_NOT_STOCKED_AT_LOCATION
It seems we need to manually edit the product to enable the location (the Edit locations button in the product’s Inventory section) for the GraphQL mutation to work.
Is there a way to enable the location (for stocking the product) by calling a GraphQL endpoint?