Anchor to section titled 'undefined'

MetafieldInput
input_object

The input fields to use to create or update a metafield through a mutation on the owning resource. An alternative way to create or update a metafield is by using the metafieldsSet mutation.


The unique ID of the metafield.

Required when updating a metafield, but shouldn't be included when creating as it's created automatically.

The unique identifier for a metafield within its namespace.

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-64 characters long and can contain alphanumeric, hyphen, and underscore characters.

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.

The type of data that is stored in the metafield. Refer to the list of supported types.

Required when creating a metafield, but optional when updating.

The data stored in the metafield. Always stored as a string, regardless of the metafield's type.


Was this section helpful?


Was this section helpful?

The input fields to create or update a metafield.

The input fields to create or update a metafield.

Attaches additional metadata to a store's resources.

Attaches additional metadata to a store's resources.

The metafields to associate with the collection.

Additional metafields to associate to the customer.

Additional metafields to associate to the delivery customization.

Additional metafields to associate to the discount.

Additional metafields to associate to the discount.

The list of metafields attached to the draft order. An existing metafield can not be used when creating a draft order.

Additional customizable information to associate with the location.

Additional customizable information to associate with the location.

A list of metafields to add to the order.

A list of new metafields to add to the existing metafields for the order.

The input fields to create or update a metafield.

The input fields to create or update a metafield.

Additional metafields to associate to the payment customization.

The custom fields to associate with the product for the purposes of adding and storing additional information.

The custom fields to associate with the product for the purposes of adding and storing additional information.

The metafields to associate with this product.

The custom fields to associate with the product for the purposes of adding and storing additional information.

Additional customizable information about the product variant.

The additional customizable information about the product variant.

Additional customizable information to associate with the SellingPlan.

Additional metafields to associate to the validation.

Additional metafields to associate to the validation.


Was this section helpful?
Map

Fields

MetafieldInput

Input objects using this input