Is it possible to display a customer’s notes (notes they created) in their order history?
Topic summary
Goal: Display customer-created notes within the customer’s order history.
- A staff member asked whether notes are collected via an app or theme, and where exactly they should appear (order timeline vs another spot).
- A partner suggested using the Shopify Admin API with GraphQL to fetch the relevant note data and show it in the account’s order history view. A sample GraphQL query was provided; the code snippet is central to the proposed solution.
- The original poster confirmed the suggestion was helpful. A Shopify staff member acknowledged the API-based solution and invited further questions.
Latest update:
- Another merchant requested step-by-step, non-developer instructions on how to implement the provided code.
Status and next steps:
- Partially resolved: a technical path (Admin API + GraphQL) is identified.
- Unresolved: clear, non-technical implementation steps (where to place code, theme edits, or app-based alternatives). Thread remains open pending guidance.
Key terms:
- Shopify Admin API: programmatic access to store data and operations.
- GraphQL: a query language used to request specific data from an API.
Hi there, @Chadj2026 . Thanks for connecting with us today. It’s nice to meet you.
I just have a few questions I want to ask you before jumping in and providing some support:
- Are you using any apps to collect notes from customers? Or is this something built into your theme?
- Are you wanting to add the notes to the order timeline for specific orders, or somewhere else?
I’ll keep my eyes peeled for your reply!
You can use the Shopify Admin API to retrieve the notes associated with an order and display them in the order history section of the customer’s account.
To do this, you can use the following GraphQL query:
query getOrder($orderId: ID!) {
order(id: $orderId) {
customer {
id
note
}
}
}
Perfect. Thank you for the help!
Hey there, @Chadj2026 and @EcomGraduates !
@Chadj2026 , super happy to see that one of our Shopify Partners was able to jump into this thread and provide you with a solution via our API. @EcomGraduates , thanks for jumping in here with your idea!
It’s threads like this that show the value that the Shopify Community Forums bring out for our Merchants and Partners!
@Chadj2026 , if you have any additional questions, feel free to follow up in this thread, or create another post! All the best!
Hi, same issue here that looking for the solution. As I’m not the coding developer but wanna to do it myself, could you mind to show the steps how I can put this code in, please? Thank you.