Docs
Dashboard

metafieldValueDefinitions

Query

Returns the metafield value shapes available when creating a resource of the specified owner type. Access is governed by the edit permission for that owner type, not metafield configuration permissions.

#

Arguments


ownerType
MetafieldOwnerType!Required

The owner type used by this operation.

Possible enum values
  • CATEGORY

    A category can own the metafield.

  • COLLECTION

    A collection can own the metafield.

  • CUSTOMER

    A customer can own the metafield.

  • ORDER

    An order can own the metafield.

  • PRODUCT

    A product can own the metafield.

  • PRODUCT_ATTRIBUTE

    A product attribute can own the metafield.

  • PRODUCT_ATTRIBUTE_VALUE

    A product attribute value can own the metafield.

  • PRODUCT_VARIANT

    A product variant can own the metafield.

#

Payload


Metafield
[Metafield!]!

A metafield definition resolved for an owner, including its assigned value when present.