metafield-bulk-update

Installation
SKILL.md

Purpose

Queries products (or variants, or customers) matching a filter and bulk-sets or bulk-deletes metafield values. Used for structured data updates like material composition, care instructions, product specifications, or custom attributes that power storefront features.

Prerequisites

  • Authenticated Shopify CLI session: shopify store auth --store <domain> --scopes read_products,write_products
  • API scopes: read_products, write_products
  • Metafield namespace and key must already exist or be created on first set

Parameters

Parameter Type Required Default Description
store string yes Store domain (e.g., mystore.myshopify.com)
resource_type string no product Resource to update: product, variant, or customer
filter string yes Filter query (e.g., tag:summer-2026, vendor:Nike)
namespace string yes Metafield namespace (e.g., custom)
key string yes Metafield key (e.g., material)
value string no Value to set. If omitted and action: delete, metafield is deleted
value_type string no single_line_text_field Metafield type (e.g., single_line_text_field, boolean, number_integer)
Related skills
Installs
1
GitHub Stars
139
First Seen
Apr 12, 2026