cancel
Showing results for 
Search instead for 
Did you mean: 

REST API products list and out of stock

REST API products list and out of stock

In the api call V1/products i get also out of stock products, even though I've set in Stores->configuration->catalog->inventory "Display out of stock products" to No.

there's a way to get rid of this annoing missing feature?

6 REPLIES

Re: REST API products list and out of stock

@dandreoli have you did reindex?

Re: REST API products list and out of stock

of course, I find out also this attribute "quantity_and_stock_status" but it's not associated with all products but only few of them

Re: REST API products list and out of stock

@dandreoli have you migrate data from magento 1 to magento2?


dandreoli wrote:

of course, I find out also this attribute "quantity_and_stock_status" but it's not associated with all products but only few of them


 

Re: REST API products list and out of stock

Yes, I've migrated data, why? There is some steps i need to follow?


Sunil Patel wrote:

@dandreoli have you migrate data from magento 1 to magento2?


dandreoli wrote:

of course, I find out also this attribute "quantity_and_stock_status" but it's not associated with all products but only few of them


 


 

Re: REST API products list and out of stock

@dandreoli

Can you please create new product from admin and make that product to out of stock, is that showing for you?

Re: REST API products list and out of stock

No way, I've just tryied, but no rows on attribute added