stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > MetafieldInput > namespace

AdminTypes.MetafieldInput.namespace property

The container for a group of metafields that the metafield is or will be associated with. Used in tandem with key to lookup a metafield on a resource, preventing conflicts with other metafields with the same key.

Required when creating a metafield, but optional when updating. Used to help identify the metafield when updating, but can’t be updated itself.

Must be 3-255 characters long and can contain alphanumeric, hyphen, and underscore characters.

Signature:

namespace?: InputMaybe<Scalars['String']['input']>;