I have a bot and I want it to work so that when a user enters their order number from Shopify, the order details for that specific order are displayed in the bot conversation such as the email, status url etc.
I have made an API that retrieves a list of orders from my shopify but when I use it in the bot all the top 50 orders are listed and not only the specific one the user has entered.
The response is like this:
How can I only display the details of the order entered by the user?