Question: How To Show Stocks With Api

How To Show Stocks With Api

Hello, I use this for api: https://***/api/v1/products?format=xml&include=product&code=1234&api-key=1234 But i cant see product quantity, what should I do to see product quantity? Can you

K

kemal

Asked
Hello,
I use this for api:
https://***/api/v1/products?format=xml&include=product&code=1234&api-key=1234

But i cant see product quantity, what should I do to see product quantity?

Can you help me??
  • K

    kemal

    Answered
    Is anybody here??
  • MS

    Mian Saleem

    Answered
    Hello,

    We don't work on Saturdays and Sundays.

    The products api endpoint don't have quantity option. You will need to edit the `getProducts` method of `app/models/api/Products_api.php` while the request is handled by `index_get` method of `app/controllers/api/v1/Products.php`

    Thank you
  • Login to Reply