Skip to main content

Managing Lists of Metafield Values

The bulk editor supports several operations for managing list-type metafield values.

Supported Operations

OperationDescription
Create NewCreates fresh metafield entries without affecting existing ones
Replace All ItemsOverrides all existing entries with provided values. Also creates new metafields for resources that don't have the specified metafield
Append ItemAdds a value to existing list metafields while preserving current values. No new entries are created for resources without the metafield. You can specify position (beginning or end) and apply sorting
Append Item / Create NewCombines appending with creation adds to existing lists AND creates new metafields for resources that don't have the specified metafield
Remove List ItemRemoves specified values from existing list metafields
Important

If all items are removed from a list metafield, the entire metafield is deleted Shopify does not support empty metafields.