Controller
REST API Reports products controller class.
Description Description
Source Source
File: packages/woocommerce-admin/src/API/Reports/Products/Controller.php
Methods Methods
- _get_categories — Get categories column export value.
- _get_stock_status — Get stock status column export value.
- get_collection_params — Get the query params for collections.
- get_export_columns — Get the column names for export.
- get_item_schema — Get the Report's schema, conforming to JSON Schema.
- get_items — Get items.
- prepare_item_for_export — Get the column values for export.
- prepare_item_for_response — Prepare a report object for serialization.
- prepare_links — Prepare links for the request.