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 $Cred) | ConvertFrom-Jsonhowever 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) | ConvertFrom-Json
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘REST orders specific customers’ is closed to new replies.