Skip to content

Customer MetaFields

Superseded by Metafields

For a new integration, use the Metafields push, or the metafields on the Customers push. The Customer MetaFields push remains for integrations built on it.

The Customer MetaFields push sets and deletes metafields on customers, one metafield to a record. It runs on the same engine as the Metafields push and follows its rules, with these fields:

Field Rule
Customer Id Required. A numeric id or a gid
Namespace Blank is inventory
Key Required. The namespace and key find the metafield to update
Type (integer, single_line_text_field, etc) Blank uses the metafield's definition
Value A blank Value deletes the metafield
Id Written back with the metafield's id. It does not find the metafield
Description (not used) Ignored. Shopify no longer takes a metafield description
Use Bulk Operations True sends the run through bulk operations

The push needs write_customers. See Access Scopes.