0

I'm pulling a bunch of products from Magento 2 via the SOAP api in postman, but I can't seem to get the quantity of a product. I can get any or all infomation, but I really need to know how many of that product I have in the database.

Here is my SOAP code:

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body>
    <!--Returns all the product information for the product.-->
    <catalogProductInfo xmlns="urn:Magento">
        <session>...</session>
        <product_id>555</product_id>
    </catalogProductInfo>
</Body>

This returns the product's ingo, but it dosen't include the quantity. I also tried catalogProductList and added all the existing addition_attributes, but still no dice.

How do I get the quantity of a product in my inventory?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.