WABA template quick reply - Pass Variable value

Let’s say there is a usecase where there are transactional messages being sent to a restaurant whenever there is a new food order being placed. Now in the transactional message there are quick reply buttons like Accept the Order and Reject the Order. Now is it possible when the user clicks on one of those buttons then the Order ID in the message is also passed or will it trigger a generic journey where the bot will display the list of all pending orders and then the user will have to give response for each order separately ?

You need to have the order ID before hand. When the user clicks on it you can pass the order id as a post back data

Then it means it will only work for the latest order or a single order ID scenario ? However there maybe multiple pending order IDs associated with a user.