Availability and count info in products
Last updated
There are three ways of showing the product availability:
In stock
Available for order
Not available
If a product has count greater than 0, it means it can be ordered directly.
If a product does not have count but has is_available_for_order parameter set to true, you can show availability info in order_availability (plain text). This product will always be added to the shopping cart, also if count === 0.
If a product does not have count and also is is_available_for_order set to false, it means that this product is not available to order.
By default, API does not return sold out products. If you want to have these products shown in the listing, add showSoldOut=true parameter to the request.
Last updated