Remove shop metafield
The Remove shop metafield action removes metafields from the shop that triggers the workflow.
Fields
The Remove shop metafield action contains the following fields.
Field | Description |
---|---|
Metafield namespace | Required. A metafield namespace is a container for a group of metafields. Grouping metafields within a namespace prevents your metafields from conflicting with other metafields. |
Key | Required. A key is an identifier for the metafield value. |
Triggers
The Remove shop metafield action can be used in any workflow.
Example
![Example of a workflow that removes a shop metafield when a new customer is created](https://cdn.shopify.com/shopifycloud/help/assets/manual/apps/flow/flowv2/remove-shop-metafield-6079b4e9d32abe504d2923e191590363429443235a66ae9d9c572f42e57cee70.png)
In this example workflow, a shop metafield is removed when a new customer is created.
API details
To learn more, review the MetafieldInput input object.