--- title: HasMetafields - GraphQL Admin description: >- Represents information about the metafields associated to the specified resource. api_version: 2026-01 api_name: admin type: interface api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/latest/interfaces/HasMetafields' md: >- https://shopify.dev/docs/api/admin-graphql/latest/interfaces/HasMetafields.md --- # Has​Metafields interface Represents information about the metafields associated to the specified resource. ## Fields * metafield * metafields *** ## Types implemented in * AppInstallation * Article * Blog * CartTransform * Collection * Company * CompanyLocation * Customer * CustomerSegmentMember * DeliveryCustomization * DiscountAutomaticNode * DiscountCodeNode * DiscountNode * DraftOrder * FulfillmentConstraintRule * GiftCardCreditTransaction * GiftCardDebitTransaction * Image * InventoryTransfer * Location * Market * MediaImage * Order * Page * PaymentCustomization * Product * ProductVariant * SellingPlan * Shop * Validation *** ##### Variables ```json { "metafield": { "namespace": "", "key": "" }, "metafields": { "namespace": "", "keys": "", "first": "", "after": "", "last": "", "before": "", "reverse": "" } } ``` ##### Schema ```graphql interface HasMetafields { metafield: Metafield metafields: MetafieldConnection! } ```