Assistants: JSON file for each order, attach file to thread

I am trying to build an assistant for ecommerce store owners. When they want to interact with a specific order, I want OpenAI to have the details of the order in the thread to use as a reference for messages pertaining to the order.

Examples: User goes to order #123 page. Page has window so user access assistant to ask about or take action/function on the order.

My question is this: Should an order specific thread (thread for order 123) have an attached order.json (order123.json) file, or should I just provide order info in beginning of an orders’ threads’ context? I am trying to avoid truncation of the order details further in the thread, and also the order details is not small context.

I could also just provide a function to retrieve order details, but this would be called any time a question is asked.

I hope my ramble made sense.