Skip to main content
enum

Possible types of a metafield's owner resource.

The Api Permission metafield owner type.

Anchor to ARTICLEARTICLE

The Article metafield owner type.

The Blog metafield owner type.

The Cart Transform metafield owner type.

The Collection metafield owner type.

The Company metafield owner type.

The Company Location metafield owner type.

The Customer metafield owner type.

Anchor to DELIVERY_CUSTOMIZATIONDELIVERY_CUSTOMIZATION

The Delivery Customization metafield owner type.

The Delivery Method metafield owner type.

Anchor to DELIVERY_OPTION_GENERATORDELIVERY_OPTION_GENERATOR

The Delivery Option Generator metafield owner type.

The Discount metafield owner type.

The draft order metafield owner type.

Anchor to FULFILLMENT_CONSTRAINT_RULEFULFILLMENT_CONSTRAINT_RULE

The Fulfillment Constraint Rule metafield owner type.

Anchor to GIFT_CARD_TRANSACTIONGIFT_CARD_TRANSACTION

The GiftCardTransaction metafield owner type.

The Location metafield owner type.

The Market metafield owner type.

The Order metafield owner type.

Anchor to ORDER_ROUTING_LOCATION_RULEORDER_ROUTING_LOCATION_RULE

The Order Routing Location Rule metafield owner type.

The Page metafield owner type.

Anchor to PAYMENT_CUSTOMIZATIONPAYMENT_CUSTOMIZATION

The Payment Customization metafield owner type.

The Product metafield owner type.

The Product Variant metafield owner type.

The Selling Plan metafield owner type.

The Shop metafield owner type.

The Validation metafield owner type.

•
Deprecated

Was this section helpful?

•OBJECT

Metafields enable you to attach additional information to a Shopify resource, such as a Product or a Collection. For more information about where you can attach metafields refer to HasMetafields. Some examples of the data that metafields enable you to store are specifications, size charts, downloadable documents, release dates, images, or part numbers. Metafields are identified by an owner resource, namespace, and key. and store a value along with type information for that value.

•OBJECT

Metafield definitions enable you to define additional validation constraints for metafields, and enable the merchant to edit metafield values in context.

•OBJECT

Identifies a metafield definition by its owner type, namespace, and key.

•INPUT OBJECT

The input fields that identify metafield definitions.

•INPUT OBJECT

The input fields required to create a metafield definition.

•INPUT OBJECT

The input fields required to update a metafield definition.

•OBJECT

Standard metafield definition templates provide preset configurations to create metafield definitions. Each template has a specific namespace and key that we've reserved to have specific meanings for common use cases.

Refer to the list of standard metafield definitions.

•INPUT OBJECT

The input fields for enabling a standard metafield definition.

•ARGUMENT

The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start.


Was this section helpful?