REST orders specific customers
-
Hi, i have a till that reports a customer_id into woocommerce for each order (for this example i will use customer ’10’). I can search for this using REST with:
curl “$($SubURL)?per_page=100&customer=10” -u $Credhowever I want to find all customers that are not customer 10 above. Is there any way to filter the result other than a foreach loop against all customers excluding ’10’? Something like the below would be ideal, or another way to achieve this with a query filter maybe..
curl “$($SubURL)?per_page=100&customer_exclude=10” -u $Cred
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘REST orders specific customers’ is closed to new replies.