<div class="doc-version" data-version="unstable"> <p>Represents information about the metafields associated to the specified resource.</p> <h2 id="fields-unstable"> Fields </h2> <ul class="fields"> <li> <div class="field" id="metafield-unstable"> <div class="field-name"> metafield (<a href="/api/functions/reference/payment-customization/graphql/common-objects/metafield"><code>Metafield</code></a>) </div> <div> <p>Returns a metafield by namespace and key that belongs to the resource.</p> </div> </div> <div class="arguments-table"> <table> <tr> <th>Argument</th> <th>Description</th> </tr> <tr class="field-argument"> <td class="argument-name"> <code>key</code> (<a href="/api/functions/reference/payment-customization/graphql/scalar#string-unstable"> <code>String!</code> </a>) <span class="heading-flag">required</span> </td> <td class="argument-description"> <p>The key for the metafield.</p> </td> </tr> <tr class="field-argument"> <td class="argument-name"> <code>namespace</code> (<a href="/api/functions/reference/payment-customization/graphql/scalar#string-unstable"> <code>String</code> </a>) </td> <td class="argument-description"> <p>The container the metafield belongs to. If omitted, the app-reserved namespace will be used.</p> </td> </tr> </table> </div> </li> </ul> <h2 id="slugify.(heading || 'Possible types')-">Types that implement HasMetafields</h2> <ul> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/company"> <code>Company</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/companylocation"> <code>CompanyLocation</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/customer"> <code>Customer</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/gateconfiguration"> <code>GateConfiguration</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/market"> <code>Market</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/paymentcustomization"> <code>PaymentCustomization</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/product"> <code>Product</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/productvariant"> <code>ProductVariant</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/sellingplan"> <code>SellingPlan</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/shop"> <code>Shop</code> </a> </li> </ul> </div> <div class="doc-version doc-version--rc" data-version="2025-04"> <p>Represents information about the metafields associated to the specified resource.</p> <h2 id="fields-2025-04"> Fields </h2> <ul class="fields"> <li> <div class="field" id="metafield-2025-04"> <div class="field-name"> metafield (<a href="/api/functions/reference/payment-customization/graphql/common-objects/metafield"><code>Metafield</code></a>) </div> <div> <p>Returns a metafield by namespace and key that belongs to the resource.</p> </div> </div> <div class="arguments-table"> <table> <tr> <th>Argument</th> <th>Description</th> </tr> <tr class="field-argument"> <td class="argument-name"> <code>key</code> (<a href="/api/functions/reference/payment-customization/graphql/scalar#string-2025-04"> <code>String!</code> </a>) <span class="heading-flag">required</span> </td> <td class="argument-description"> <p>The key for the metafield.</p> </td> </tr> <tr class="field-argument"> <td class="argument-name"> <code>namespace</code> (<a href="/api/functions/reference/payment-customization/graphql/scalar#string-2025-04"> <code>String</code> </a>) </td> <td class="argument-description"> <p>The container the metafield belongs to. If omitted, the app-reserved namespace will be used.</p> </td> </tr> </table> </div> </li> </ul> <h2 id="slugify.(heading || 'Possible types')-">Types that implement HasMetafields</h2> <ul> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/company"> <code>Company</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/companylocation"> <code>CompanyLocation</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/customer"> <code>Customer</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/market"> <code>Market</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/paymentcustomization"> <code>PaymentCustomization</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/product"> <code>Product</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/productvariant"> <code>ProductVariant</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/sellingplan"> <code>SellingPlan</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/shop"> <code>Shop</code> </a> </li> </ul> </div> <div class="doc-version doc-version--latest selected" data-version="2025-01"> <p>Represents information about the metafields associated to the specified resource.</p> <h2 id="fields-2025-01"> Fields </h2> <ul class="fields"> <li> <div class="field" id="metafield-2025-01"> <div class="field-name"> metafield (<a href="/api/functions/reference/payment-customization/graphql/common-objects/metafield"><code>Metafield</code></a>) </div> <div> <p>Returns a metafield by namespace and key that belongs to the resource.</p> </div> </div> <div class="arguments-table"> <table> <tr> <th>Argument</th> <th>Description</th> </tr> <tr class="field-argument"> <td class="argument-name"> <code>key</code> (<a href="/api/functions/reference/payment-customization/graphql/scalar#string-2025-01"> <code>String!</code> </a>) <span class="heading-flag">required</span> </td> <td class="argument-description"> <p>The key for the metafield.</p> </td> </tr> <tr class="field-argument"> <td class="argument-name"> <code>namespace</code> (<a href="/api/functions/reference/payment-customization/graphql/scalar#string-2025-01"> <code>String</code> </a>) </td> <td class="argument-description"> <p>The container the metafield belongs to. If omitted, the app-reserved namespace will be used.</p> </td> </tr> </table> </div> </li> </ul> <h2 id="slugify.(heading || 'Possible types')-">Types that implement HasMetafields</h2> <ul> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/company"> <code>Company</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/companylocation"> <code>CompanyLocation</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/customer"> <code>Customer</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/market"> <code>Market</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/paymentcustomization"> <code>PaymentCustomization</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/product"> <code>Product</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/productvariant"> <code>ProductVariant</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/sellingplan"> <code>SellingPlan</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/shop"> <code>Shop</code> </a> </li> </ul> </div> <div class="doc-version" data-version="2024-10"> <p>Represents information about the metafields associated to the specified resource.</p> <h2 id="fields-2024-10"> Fields </h2> <ul class="fields"> <li> <div class="field" id="metafield-2024-10"> <div class="field-name"> metafield (<a href="/api/functions/reference/payment-customization/graphql/common-objects/metafield"><code>Metafield</code></a>) </div> <div> <p>Returns a metafield by namespace and key that belongs to the resource.</p> </div> </div> <div class="arguments-table"> <table> <tr> <th>Argument</th> <th>Description</th> </tr> <tr class="field-argument"> <td class="argument-name"> <code>key</code> (<a href="/api/functions/reference/payment-customization/graphql/scalar#string-2024-10"> <code>String!</code> </a>) <span class="heading-flag">required</span> </td> <td class="argument-description"> <p>The key for the metafield.</p> </td> </tr> <tr class="field-argument"> <td class="argument-name"> <code>namespace</code> (<a href="/api/functions/reference/payment-customization/graphql/scalar#string-2024-10"> <code>String</code> </a>) </td> <td class="argument-description"> <p>The container the metafield belongs to. If omitted, the app-reserved namespace will be used.</p> </td> </tr> </table> </div> </li> </ul> <h2 id="slugify.(heading || 'Possible types')-">Types that implement HasMetafields</h2> <ul> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/company"> <code>Company</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/companylocation"> <code>CompanyLocation</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/customer"> <code>Customer</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/market"> <code>Market</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/paymentcustomization"> <code>PaymentCustomization</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/product"> <code>Product</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/productvariant"> <code>ProductVariant</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/sellingplan"> <code>SellingPlan</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/shop"> <code>Shop</code> </a> </li> </ul> </div> <div class="doc-version" data-version="2024-07"> <p>Represents information about the metafields associated to the specified resource.</p> <h2 id="fields-2024-07"> Fields </h2> <ul class="fields"> <li> <div class="field" id="metafield-2024-07"> <div class="field-name"> metafield (<a href="/api/functions/reference/payment-customization/graphql/common-objects/metafield"><code>Metafield</code></a>) </div> <div> <p>Returns a metafield by namespace and key that belongs to the resource.</p> </div> </div> <div class="arguments-table"> <table> <tr> <th>Argument</th> <th>Description</th> </tr> <tr class="field-argument"> <td class="argument-name"> <code>key</code> (<a href="/api/functions/reference/payment-customization/graphql/scalar#string-2024-07"> <code>String!</code> </a>) <span class="heading-flag">required</span> </td> <td class="argument-description"> <p>The key for the metafield.</p> </td> </tr> <tr class="field-argument"> <td class="argument-name"> <code>namespace</code> (<a href="/api/functions/reference/payment-customization/graphql/scalar#string-2024-07"> <code>String</code> </a>) </td> <td class="argument-description"> <p>The container the metafield belongs to. If omitted, the app-reserved namespace will be used.</p> </td> </tr> </table> </div> </li> </ul> <h2 id="slugify.(heading || 'Possible types')-">Types that implement HasMetafields</h2> <ul> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/company"> <code>Company</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/companylocation"> <code>CompanyLocation</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/customer"> <code>Customer</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/market"> <code>Market</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/paymentcustomization"> <code>PaymentCustomization</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/product"> <code>Product</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/productvariant"> <code>ProductVariant</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/sellingplan"> <code>SellingPlan</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/shop"> <code>Shop</code> </a> </li> </ul> </div> <div class="doc-version" data-version="2024-04"> <p>Represents information about the metafields associated to the specified resource.</p> <h2 id="fields-2024-04"> Fields </h2> <ul class="fields"> <li> <div class="field" id="metafield-2024-04"> <div class="field-name"> metafield (<a href="/api/functions/reference/payment-customization/graphql/common-objects/metafield"><code>Metafield</code></a>) </div> <div> <p>Returns a metafield by namespace and key that belongs to the resource.</p> </div> </div> <div class="arguments-table"> <table> <tr> <th>Argument</th> <th>Description</th> </tr> <tr class="field-argument"> <td class="argument-name"> <code>key</code> (<a href="/api/functions/reference/payment-customization/graphql/scalar#string-2024-04"> <code>String!</code> </a>) <span class="heading-flag">required</span> </td> <td class="argument-description"> <p>The key for the metafield.</p> </td> </tr> <tr class="field-argument"> <td class="argument-name"> <code>namespace</code> (<a href="/api/functions/reference/payment-customization/graphql/scalar#string-2024-04"> <code>String</code> </a>) </td> <td class="argument-description"> <p>The container the metafield belongs to. If omitted, the app-reserved namespace will be used.</p> </td> </tr> </table> </div> </li> </ul> <h2 id="slugify.(heading || 'Possible types')-">Types that implement HasMetafields</h2> <ul> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/company"> <code>Company</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/companylocation"> <code>CompanyLocation</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/customer"> <code>Customer</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/market"> <code>Market</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/paymentcustomization"> <code>PaymentCustomization</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/product"> <code>Product</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/productvariant"> <code>ProductVariant</code> </a> </li> <li> <a href="/api/functions/reference/payment-customization/graphql/common-objects/shop"> <code>Shop</code> </a> </li> </ul> </div>