Add custom data to the order object via app

Topic summary

New Shopify app developer seeks guidance on adding custom data to the order object so it can be accessed later in an email template. The goal is to store additional order-level information and reference it within notification emails.

No solutions, examples, or technical steps have been provided yet. No images, code, or attachments are included.

Key need: a way to persist custom fields/metadata on the order and expose them as variables in email templates.

Unanswered questions: where to place the custom data in the order, how to make it available in email template syntax, and which Shopify-supported mechanisms are appropriate. Status: open with no resolution; the poster is requesting help and best practices.

Summarized with AI on January 15. AI used: gpt-5.

Hi everyone!

I’m new at shopify app development and want to add custom data to the order object to later be able to access it from an email template. Can you help?

Thank you!

Marcus