I am trying to retrieve all products using rest api. I have read this question. I am using postman to make calls. Here is my query
https://squatwolf.com/wp-j
add code to function.php
function maximum_api_filter($query_params) { $query_params['per_page']["maximum"]=100000; return $query_params; } add_filter('rest_product_collection_params', 'maximum_api_filter');