const reqBody = {
order_id:"1210408175301",
}
fyers.get_filtered_orders(reqBody).then((response) => {
console.log(response)
})
Get filtered order not working see the above response from server, kindly check
Hey Rajasekar,
I’ll try reproducing this scenario from my end and let you the solution.
Hi Rajasekar,
In the orders API response, we have a field called just as “id”
You need to pass that data in orders with filter API. For more info,
https://myapi.fyers.in/docs#tag/Transaction-Info/paths/~1Transaction%20Info/put
Any solution?
temporary solution (a SDK update will be rolled out soon so you dont need to pass token and app ID in reqBody):
const reqBody = {
token:"Access_token here",
app_id:"XXXXXX-100",
order_id:"1210408175301",
}
fy.get_filtered_orders(reqBody).then((response) => {
console.log(response)
})
working Thanks