I’m fetching all products via GET /wp-json/wc/v3/products with pagination, but some product_ids present in orders do not appear in the list, even after iterating all pages.
Example:
GET https://site.com.br/wp-json/wc/v3/products?per_page=100&page=1&orderby=id&order=asc&status=any&include=42736 → returns empty.
GET https://site.com.br/wp-json/wc/v3/products/42736 → returns the product correctly.
Additionally, several items returned by /products in our store have "type": "variation".
Expected:
The /products list (including when using include=) should return all products that exist and are referenced in orders, including the example above.