MetafieldDefinitionInput
- Input object
- Content and shop
Input fields
| Input field | Type | Required | Default | Description |
|---|---|---|---|---|
access | MetafieldAccessInput | Optional | ||
capabilities | MetafieldCapabilityCreateInput | Optional | ||
constraints | MetafieldDefinitionConstraintsInput | Optional | ||
description | String | Optional | ||
key | String! | Required | ||
name | String! | Required | ||
namespace | String | Optional | ||
ownerType | MetafieldOwnerType! | Required | ||
pin | Boolean | Optional | false | |
type | String! | Required | ||
useAsCollectionCondition | Boolean | Optional | false | Deprecated |
validations | [MetafieldDefinitionValidationInput!] | Optional |