How to filter orders for a customer API Woocommerce 2.6

I am filter orders based on the ID of a client, following syntax doesn't working, when i try:

www.example.com/wp-json/wc/customers/1/orders?

Provide me correct syntax

i'm on woocommerce 2.6

Solved

If you are using Woocommerce API version 3 (v3), use this format:

http:///wc-api/v3/orders?filter[customer_id]=

try this syntax

get orders?customer=1 

Comments