metafield.definition.delete
Delete a metafield definition AND every value stored under it.
- scope:
store:admin - storefront-visible (bumps the catalog generation): yes
- destructive: yes — supports dryRun preview
Payload
| field | type | required | notes |
|---|---|---|---|
id | string (/^mfd_[0-9A-HJKMNP-TV-Z]{26}$/) | yes |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^mfd_[0-9A-HJKMNP-TV-Z]{26}$"
}
},
"required": [
"id"
],
"additionalProperties": false
}Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/metafield.definition.delete.md