Skip to main content
  1. Posts/

Shopify Draft Order Metafields

·72 words·1 min·
Shopify Polaris Node JS GraphQL REST API

While trying to track data on draft orders and orders I wanted to use metafields.  This lead me to find out that draft orders cannot have metafields configured.

These lead me to two options to track data. 

  • Note attributes on the order
  • A custom mysql database table for my app to track the data.

I’ve used both depending on the type of data and how store clerks needed to update the data.

Michael Michalak
Author
Michael Michalak
Experienced Drupal consultant and Fractional CTO with over 13 years of expertise in backend development, optimization, and securing Drupal applications, specializing in custom module development, migrations, and enterprise integrations across various industries.