• Resolved ninjabob

    (@ninjabob)


    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)
  • Plugin Support Riaan K.

    (@riaanknoetze)

    Hi there,

    This would be up to the REST API of the inventory management plugin you’re using and not the core WooCommerce REST API (which doesn’t support inventory location).

Viewing 1 replies (of 1 total)

The topic ‘API: Set/Update location stock?’ is closed to new replies.