@lukecavanagh i just tried the code you proposed, but it did not work, it just returns all of the orders. here is my code:
`orders?filter[meta]=true&filter[meta_key]=order_secret_code&filter[meta_value]=’+$stateParams.secretcode
I have added a custom field which is called as order_secret_code.
Also i could not use filter to retrive order_key which is located in order response json. I appreciate if you help me.