How to judge whether the product can continue to be sold?

Highlighted
New Member
1 0 0

According to the description of the api documentation:

https://shopify.dev/docs/admin-api/rest/reference/products/product-variant?api[version]=2020-04 

"inventory_policy": "continue"
Whether customers are allowed to place an order for the product variant when it's out of stock. Valid values:
deny: Customers are not allowed to place orders for the product variant if it's out of stock.
continue: Customers are allowed to place orders for the product variant if it's out of stock.
Default value: deny.

In fact When close Track quantity, the inventory_policy is deny and the product can continue to be sold, Although the inventory quantity is 0. This puzzles me

0 Likes