Skip to main content

Create Customer Metafields

This page explains how to create customer metafields to use with AL CustomerMetaSync.


Creating Customer Metafields in Shopify

From your Shopify Admin, go to Settings > Metafields and metaobjects > Customers and create the necessary metafield definitions.

The image below shows an example of defined customer metafields.

Customer metafields in Shopify

In AL CustomerMetaSync, you must select the appropriate metafield type based on the form input style.


Single Line Text (Text Input)

Use this type when you want to save a single line of text data.

Feedback form example
Birthday form example


Single Select

Use this type when customers should select only one option from multiple choices.

If you want to restrict selectable options, check Limit to preset choices. This ensures only predefined options can be submitted.

Gender dropdown example


Multi Select

Use this type when customers should select multiple applicable choices.

Multi-select fields require the use of List type values. (Single values are not supported.)

If you want to restrict selectable options, check Limit to preset choices. This helps you control the options customers can select.

How did you hear about us? example


Toggle Switch

Use this type with Boolean metafields that store values as true / false.

Toggle switch example


Now your metafields are ready to be used with AL CustomerMetaSync. In the next step, we will show you how to link metafields with form inputs.

Note: In Shopify, customer metafields have access level settings under "Customer account API access" — No access, Read access, and Read and write access.
If your form data isn't saving correctly, please ensure the metafield is set to Read and write access.