ProductSchema
ProductSchema class.
Description Description
Source Source
File: woocommerce/packages/woocommerce-blocks/src/RestApi/StoreApi/Schemas/ProductSchema.php
Changelog Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
Methods Methods
- get_item_response — Convert a WooCommerce product into an object suitable for the response.
- get_price_range — Get price range from certain product types.
- get_prices — Get an array of pricing data.
- get_properties — Product schema properties.