How It Works Compatible Features Pricing Contact
Guides Custom checkout fields Trade account numbers PO numbers at checkout VAT numbers EIN at checkout ABN at checkout Net terms & pay on account Capricorn members Repco trade accounts Burson trade accounts B2B order metafields Shopify Flow for B2B Checkout Blocks alternative Shopify native B2B alternative Security & data access
Install on Shopify

Order metafields

Save B2B checkout fields to Shopify order metafields

Trade Account Checkout writes each checkout field — a PO number, trade account number, VAT ID or EIN — to a structured order metafield (namespace.key). Unlike a note or a tag, a metafield is typed, queryable through the Admin API and GraphQL, exportable, and available to Shopify Flow.

Install on Shopify

Requires Shopify Plus · Free plan available

Quick answer

Trade Account Checkout saves every checkout field value to a Shopify order metafield — for example a PO number to custom.po_number. Because the value lives in a structured namespace.key metafield rather than an order note or tag, it is typed, pinned in the admin, exportable, readable through the Admin API and GraphQL, and usable as a condition or value in Shopify Flow. The app writes the field only; it is not a payment method.

Last updated: 16 June 2026

Notes and tags don't scale for B2B data

Order notes and tags are fine for a label, but they are awkward to query, export, and automate against. Metafields are built for structured data.

Notes & tags

Unstructured and hard to query

A PO number in the order note is free text you have to parse. A tag is a flat string with no key, no type, and a practical limit on how much structured data it can carry — clumsy for reporting and integrations.

Order metafields

Structured, queryable, automatable

A metafield has a namespace, a key, and a type. You can read it by key through the Admin API or GraphQL, pin it in the admin, include it in exports, and reference it directly in Shopify Flow conditions and actions.

How checkout fields become order metafields

Configure once; every matching order gets the metafield written automatically.

1

Configure the field

Add a checkout field — say a PO number — and Trade Account Checkout maps it to an order metafield such as custom.po_number.

2

Customer enters a value

The buyer types the value at checkout; it is validated against your rules before the order is placed.

3

Written on order create

When the order is created, the value is written to the mapped metafield and pinned in the admin for visibility.

4

Use it anywhere

Read the metafield by key through the Admin API or GraphQL, include it in exports, or reference it in Shopify Flow.

Order metafield vs tag vs note

Why a structured order metafield is the right home for B2B checkout data.

CapabilityOrder metafieldOrder tagOrder note
Structured keyYes — namespace.keyNo — flat stringNo — free text
Typed valueYesNoNo
Read by key via Admin API / GraphQLYesFilter onlyHard to parse
Usable in Shopify FlowYes, as a valueYes, as a triggerNo
Best home forThe PO / account referenceFlagging trade ordersAd-hoc comments

For example, the order metafield PO number value is written to custom.po_number — so you can save a PO number to an order metafield and read it straight back by key, with no parsing of an order note.

Typed, keyed, and pinned

Each value lands in its own metafield with a clear key — not buried in free-text notes.

Order #5530Payment pending

Metafields — pinned

custom.po_numberPO-88142
custom.trade_account_numberACME-10293

Tags

trade-account

B2B order metafields — FAQ

For the developers and agencies evaluating the data model.

What is a Shopify order metafield?

An order metafield is structured custom data attached to an order, stored under a namespace and key with a defined type. Unlike a note or tag, it can be read precisely by key through the Admin API and GraphQL.

Can I choose the namespace and key?

Trade Account Checkout writes each field to a clear, consistent metafield key per field, such as custom.po_number. This keeps the data predictable for exports, the API, and Shopify Flow.

Can I save a PO number to an order metafield?

Yes. A PO number entered at checkout is validated and written to its own order metafield, pinned in the admin and available to your reporting and automation.

Can I read the metafield through the Admin API or GraphQL?

Yes. Because the value is stored as a metafield, you can query it by key through Shopify's Admin API and GraphQL, rather than parsing it out of free-text notes.

Can I use the metafield in Shopify Flow?

Yes. Order metafields are available to Shopify Flow, so you can branch on a value or pass it into actions. See the Shopify Flow for B2B orders guide for examples.

Does the app store this data itself, or just write it to Shopify?

The value is written to the order metafield inside your Shopify store. Trade Account Checkout itself stores only shop-level configuration and no customer data — see the security and data access page.

Structured B2B data on every order

Capture checkout fields and write them to clean, queryable order metafields on your Shopify Plus store.

Install on Shopify