API: Set/Update location stock?
-
I’m integrating the database-of-record with WC through the REST API. So far so good but that last thing on my list is setting the stock per location.
While ‘locations’ isn’t listed in the API docs, it does come back for any updates on products. So I’m trying to set it to an array of location names and stock quantities, but it has no effect.
When I browse a product I’ve applied this API update to, the Stock Locations tab says “You need to add a stock location to this product.” Is there a way to do this through the API?
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘API: Set/Update location stock?’ is closed to new replies.