How to find whether the product is set as unavailable or not.

Highlighted
Tourist
25 0 3

Hello everyone,

I am using following Product API to get store products:

GET /admin/products.json

My App displays some product list and I do not want to show unavailable products in the product list.

So, I want to find whether the product is set as unavailable by the store admin or not.

I do not see any parameter that tells us that the product is set as unavailable.

Is there anybody who can help me to find out how to accomplish above requirement?

Any kind of help is appreciated.

Thank you in advance.

0 Likes
Highlighted
New Member
3 0 0

its a property as a liquid object. Unfortunately its not in the admin/products.json response.

https://help.shopify.com/en/themes/liquid/objects/product

0 Likes