Availability and count info in products
There are three ways of showing the product availability:
In stock
Available for order
Not available
Availability
In stock
If a product has count
greater than 0, it means it can be ordered directly.
Available for order
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
.
Not available
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.
Showing sold out products
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