Update Metafield Definition
Definitions
Update Metafield Definition
Update an existing metafield definition. Admin API only.
PUT
Update Metafield Definition
Documentation Index
Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt
Use this file to discover all available pages before exploring further.
Update Metafield Definition
Updates label, description, validations, or pinned state of an existing definition.namespace, key, ownerType, and type are immutable —
delete and recreate if you need to change them.
Request
Path parameters
The definition UUID.
Body parameters (all optional)
Human label.
Tooltip / helper text.
Replace the entire validations object. Existing values that fail the new
rules are not retroactively rejected — they continue to exist but
future writes must comply.
Pin / unpin from the resource detail page.
Response
Same shape as Get definition.Error codes
| Code | Description |
|---|---|
UNAUTHORIZED | Invalid or missing JWT |
FORBIDDEN | Wrong store / insufficient role |
NOT_FOUND | Definition does not exist |
VALIDATION_ERROR | Validation rule incompatible with the definition’s type |