This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
ProductAvailability Criterion¶
The ProductAvailability Search Criterion searches for products by the availability flag, the boolean value set per product or variant.
To search for products that can be ordered, recreate the availability conditions with existing product search criteria, for example LogicalAnd, LogicalOr, and ProductStock.
For more information, see Availability and computed availability.
Arguments¶
- (optional)
productAvailability- bool representing whether the product is available (defaulttrue)
Example¶
PHP¶
1 2 3 4 | |
REST API¶
1 2 3 4 5 | |
1 2 3 4 5 6 7 | |