# \#metafields

**URL:** https://community.shopify.dev/tag/metafields/17.md

[Latest](https://community.shopify.dev/latest.md) · [Categories](https://community.shopify.dev/categories.md) · [Tags](https://community.shopify.dev/tags.md)

---

## [Sidekick can't query analyticsQueryable order metafields in an app-reserved ($app) namespace](https://community.shopify.dev/t/sidekick-cant-query-analyticsqueryable-order-metafields-in-an-app-reserved-app-namespace/39818)

<div class="topic-metadata">

**Author:** [@arito](https://community.shopify.dev/u/arito)\
**Replies:** 2\
**Last updated:** [November 20, 2026, 10:44am UTC](https://community.shopify.dev/t/sidekick-cant-query-analyticsqueryable-order-metafields-in-an-app-reserved-app-namespace/39818 "2026-11-20T10:44:18Z")

</div>

Hi all, I’m building a public app that writes a boolean order metafield so merchants can segment a subset of orders in Shopify Analytics and ask Sidekick about them. With the analyticsQueryable capability, the metafield…

---

## [Customer metafield definitions segment filter limit](https://community.shopify.dev/t/customer-metafield-definitions-segment-filter-limit/39647)

<div class="topic-metadata">

**Author:** [@atreidesend](https://community.shopify.dev/u/atreidesend)\
**Replies:** 4\
**Last updated:** [November 13, 2026, 6:31pm UTC](https://community.shopify.dev/t/customer-metafield-definitions-segment-filter-limit/39647 "2026-11-13T18:31:15Z")

</div>

We are working on creating customer metafield definitions from our app so merchants can use them as segment filters. On a development store, at most 16 customer metafield definitions appear in segmentFilters at a time. …

---

## [Cart validation functions can't see draft order metafields on draftOrderComplete](https://community.shopify.dev/t/cart-validation-functions-cant-see-draft-order-metafields-on-draftordercomplete/38775)

<div class="topic-metadata">

**Author:** [@Patrick\_Jakubik](https://community.shopify.dev/u/Patrick_Jakubik)\
**Replies:** 2\
**Last updated:** [October 29, 2026, 1:13am UTC](https://community.shopify.dev/t/cart-validation-functions-cant-see-draft-order-metafields-on-draftordercomplete/38775 "2026-10-29T01:13:44Z")

</div>

Hey folks We’ve hit something with cart validation functions and draft orders and wanted to check whether it’s expected or a gap. Since validation functions now run when a draft order is completed (via draftOrderComple…

---

## [Paginate on a list.metaobject\_reference metafield works for the custom namespace but returns only the first 50 for $app](https://community.shopify.dev/t/paginate-on-a-list-metaobject-reference-metafield-works-for-the-custom-namespace-but-returns-only-the-first-50-for-app/38496)

<div class="topic-metadata">

**Author:** [@farid](https://community.shopify.dev/u/farid)\
**Replies:** 1\
**Last updated:** [October 15, 2026, 11:26pm UTC](https://community.shopify.dev/t/paginate-on-a-list-metaobject-reference-metafield-works-for-the-custom-namespace-but-returns-only-the-first-50-for-app/38496 "2026-10-15T23:26:45Z")

</div>

I tested paginate on a list.metaobject\_reference product metafield from a theme app extension, on a development store, on 2026-10-10. This is a follow-up to topic 34188, where the advice was to split references across se…

---

## [How to accurately determine what variant is displayed by default without Liquid Part 2](https://community.shopify.dev/t/how-to-accurately-determine-what-variant-is-displayed-by-default-without-liquid-part-2/38503)

<div class="topic-metadata">

**Author:** [@sshaw](https://community.shopify.dev/u/sshaw)\
**Replies:** 4\
**Last updated:** [October 14, 2026, 5:48pm UTC](https://community.shopify.dev/t/how-to-accurately-determine-what-variant-is-displayed-by-default-without-liquid-part-2/38503 "2026-10-14T17:48:34Z")

</div>

This is a follow-up to How to accurately determine what variant is displayed by default without Liquid The recommended solution there was to use webhooks + server-side Storefront API calls to grab Product.selectedOrFirs…

---

## [Search page filters ignore metafield-only updates that are correctly reflected in collection page filters](https://community.shopify.dev/t/search-page-filters-ignore-metafield-only-updates-that-are-correctly-reflected-in-collection-page-filters/38425)

<div class="topic-metadata">

**Author:** [@abosworth](https://community.shopify.dev/u/abosworth)\
**Replies:** 1\
**Last updated:** [October 13, 2026, 12:03pm UTC](https://community.shopify.dev/t/search-page-filters-ignore-metafield-only-updates-that-are-correctly-reflected-in-collection-page-filters/38425 "2026-10-13T12:03:48Z")

</div>

We added a product metafield as a Search & Discovery filter and filled it in on every product through the Admin API. Collection pages filtered correctly within minutes. The search page didn’t: a product only showed up un…

---

## [Cart metafield sent in cartCreate input doesn't reach the order, but cartMetafieldsSet does](https://community.shopify.dev/t/cart-metafield-sent-in-cartcreate-input-doesnt-reach-the-order-but-cartmetafieldsset-does/38314)

<div class="topic-metadata">

**Author:** [@Prajwal\_Nayak](https://community.shopify.dev/u/Prajwal_Nayak)\
**Replies:** 1\
**Last updated:** [October 6, 2026, 3:21am UTC](https://community.shopify.dev/t/cart-metafield-sent-in-cartcreate-input-doesnt-reach-the-order-but-cartmetafieldsset-does/38314 "2026-10-06T03:21:26Z")

</div>

I want a cart metafield to end up on the order (Storefront API 2026-04, cart-to-order copy). I have an order metafield definition with cartToOrderCopyable enabled, type json, key my\_key. Works: after the cart exists, I …

---

## [Multiple Barcode (box barcode and unit barcode)](https://community.shopify.dev/t/multiple-barcode-box-barcode-and-unit-barcode/24355)

<div class="topic-metadata">

**Author:** [@ukvk1313](https://community.shopify.dev/u/ukvk1313)\
**Replies:** 1\
**Last updated:** [September 16, 2026, 5:02pm UTC](https://community.shopify.dev/t/multiple-barcode-box-barcode-and-unit-barcode/24355 "2026-09-16T17:02:29Z")

</div>

We have products that come in multi packs each multipack has its own barcode and single variants have its own barcode. we have created metadefinitions to store box barcode and qty per box. struggling to find a way so …

---

## [Cloning / Migrating Metafields between Shopify Stores](https://community.shopify.dev/t/cloning-migrating-metafields-between-shopify-stores/3614)

<div class="topic-metadata">

**Author:** [@Brian\_Gonzales](https://community.shopify.dev/u/Brian_Gonzales)\
**Replies:** 3\
**Last updated:** [September 9, 2026, 4:00pm UTC](https://community.shopify.dev/t/cloning-migrating-metafields-between-shopify-stores/3614 "2026-09-09T16:00:18Z")

</div>

Hi folks - does anyone have a good way to easily copy/clone/migrate Shopify Metafields from one site to another Shopify? Matrixify allows you to export your products, order, customer, etc but will Error out when it come…

---

## [Shopify CDN stripping IPTC metadata of images](https://community.shopify.dev/t/shopify-cdn-stripping-iptc-metadata-of-images/33886)

<div class="topic-metadata">

**Author:** [@Rolands\_Kundzins](https://community.shopify.dev/u/Rolands_Kundzins)\
**Replies:** 6\
**Last updated:** [September 4, 2026, 2:58pm UTC](https://community.shopify.dev/t/shopify-cdn-stripping-iptc-metadata-of-images/33886 "2026-09-04T14:58:03Z")

</div>

Hey, It seems like Shopify CDN strips IPTC metadata from images, but Google Merchant Center requires this metatada for AI generated images: Here is one image that I AI generated and that when I just download, it does…

---

## ["Failed to save remote metafield" error when updating Customer Metafield in Shopify POS](https://community.shopify.dev/t/failed-to-save-remote-metafield-error-when-updating-customer-metafield-in-shopify-pos/37155)

<div class="topic-metadata">

**Author:** [@GabrielTurnes](https://community.shopify.dev/u/GabrielTurnes)\
**Replies:** 4\
**Last updated:** [September 2, 2026, 4:45pm UTC](https://community.shopify.dev/t/failed-to-save-remote-metafield-error-when-updating-customer-metafield-in-shopify-pos/37155 "2026-09-02T16:45:22Z")

</div>

Hi everyone, I am encountering an issue while trying to update a customer metafield directly through the Shopify POS app. The Issue: When attempting to edit and save a specific customer metafield (in our case, a “CPF” …

---

## [Using Metaobject References in Notification Templates](https://community.shopify.dev/t/using-metaobject-references-in-notification-templates/37112)

<div class="topic-metadata">

**Author:** [@Ariel\_Lezen](https://community.shopify.dev/u/Ariel_Lezen)\
**Replies:** 2\
**Last updated:** [August 25, 2026, 6:18pm UTC](https://community.shopify.dev/t/using-metaobject-references-in-notification-templates/37112 "2026-08-25T18:18:42Z")

</div>

Metaobject references in notification templates We sell live nursery stock, seed potatoes, and bulbs, so ship date is a property of the product category rather than of the order. Someone buys an apple tree in January, bu…

---

## [Feature Request: Support tags on the Company object](https://community.shopify.dev/t/feature-request-support-tags-on-the-company-object/35896)

<div class="topic-metadata">

**Author:** [@Colby](https://community.shopify.dev/u/Colby)\
**Replies:** 3\
**Last updated:** [August 20, 2026, 10:31am UTC](https://community.shopify.dev/t/feature-request-support-tags-on-the-company-object/35896 "2026-08-20T10:31:52Z")

</div>

Hey Shopifolk – the Company object doesn’t support tags today, only metafields. Metafields work fine for structured data, but they don’t give the quick filtering/segmentation and bulk actions that tags do — e.g., bulk-ad…

---

## [\`list.metaobject\_reference\` metaobject field size limit](https://community.shopify.dev/t/list-metaobject-reference-metaobject-field-size-limit/36921)

<div class="topic-metadata">

**Author:** [@DanGamble](https://community.shopify.dev/u/DanGamble)\
**Replies:** 4\
**Last updated:** [August 20, 2026, 10:02am UTC](https://community.shopify.dev/t/list-metaobject-reference-metaobject-field-size-limit/36921 "2026-08-20T10:02:25Z")

</div>

Hey, Going off this it mentions there is a 128 limit for everything and the list.metaobject\_reference gets a 256 limit. However, this is referring to meta fields and not specifically metaobject fields although I suspect…

---

## [Assistance Required for Extracting "Shop Campaigns Performance" Data via API](https://community.shopify.dev/t/assistance-required-for-extracting-shop-campaigns-performance-data-via-api/3576)

<div class="topic-metadata">

**Author:** [@Level\_Agency](https://community.shopify.dev/u/Level_Agency)\
**Replies:** 2\
**Last updated:** [August 12, 2026, 5:09pm UTC](https://community.shopify.dev/t/assistance-required-for-extracting-shop-campaigns-performance-data-via-api/3576 "2026-08-12T17:09:05Z")

</div>

I am seeking guidance on extracting data from the “Shop Campaigns Performance” analytics report, which details daily ad spend, for my store where Shop Pay is installed. Specifically, I would like to know which API endpoi…

---

## [Feature Request: Market reference type for metaobjects/metafields](https://community.shopify.dev/t/feature-request-market-reference-type-for-metaobjects-metafields/35894)

<div class="topic-metadata">

**Author:** [@Colby](https://community.shopify.dev/u/Colby)\
**Replies:** 3\
**Last updated:** [July 10, 2026, 3:07pm UTC](https://community.shopify.dev/t/feature-request-market-reference-type-for-metaobjects-metafields/35894 "2026-07-10T15:07:05Z")

</div>

Metaobject fields support reference types for Blog, Blog post, Collection, Company, Customer, Metaobject, Order, Page, Product, and Product variant — but there’s no reference type for Market. As a workaround, I’ve creat…

---

## [Feature request: Copy metafields when duplicating orders](https://community.shopify.dev/t/feature-request-copy-metafields-when-duplicating-orders/35715)

<div class="topic-metadata">

**Author:** [@Patrick\_Jakubik](https://community.shopify.dev/u/Patrick_Jakubik)\
**Replies:** 2\
**Last updated:** [July 3, 2026, 7:26pm UTC](https://community.shopify.dev/t/feature-request-copy-metafields-when-duplicating-orders/35715 "2026-07-03T19:26:21Z")

</div>

Hi Shopifolks, After receiving feedback from a merchant, we tested the Duplicate order button and found that order metafields are not copied to the new duplicated order. Request: Please add support for duplicating meta…

---

## [Can i have a MailingAddress reference](https://community.shopify.dev/t/can-i-have-a-mailingaddress-reference/34034)

<div class="topic-metadata">

**Author:** [@Si\_Hobbs](https://community.shopify.dev/u/Si_Hobbs)\
**Replies:** 7\
**Last updated:** [July 1, 2026, 11:23pm UTC](https://community.shopify.dev/t/can-i-have-a-mailingaddress-reference/34034 "2026-07-01T23:23:21Z")

</div>

Recently Shopify added a huge range of metafield data types. I’m wondering how i get them to add MailingAddress GID (eg gid://shopify/MailingAddress/9876543210) as a reference type. I really don’t want to use a single\_li…

---

## [Cloning a Product Should Not Clone Metafields](https://community.shopify.dev/t/cloning-a-product-should-not-clone-metafields/35465)

<div class="topic-metadata">

**Author:** [@sshaw](https://community.shopify.dev/u/sshaw)\
**Replies:** 4\
**Last updated:** [June 30, 2026, 2:02am UTC](https://community.shopify.dev/t/cloning-a-product-should-not-clone-metafields/35465 "2026-06-30T02:02:08Z")

</div>

This has caused several bugs. Anyone else having issues with this? Users assign some data to Product X in an app and the app sets metafields to store it so it’s accessible via theme extension or similar. Let’s say they …

---

## [Display Metafield Handles Alongside Metafield Names in the Admin](https://community.shopify.dev/t/display-metafield-handles-alongside-metafield-names-in-the-admin/35567)

<div class="topic-metadata">

**Author:** [@Daniel\_Rashi](https://community.shopify.dev/u/Daniel_Rashi)\
**Replies:** 1\
**Last updated:** [June 26, 2026, 6:08pm UTC](https://community.shopify.dev/t/display-metafield-handles-alongside-metafield-names-in-the-admin/35567 "2026-06-26T18:08:17Z")

</div>

When working with metafields in the Shopify admin, the metafield names are displayed clearly — but the handles (e.g. custom.code, custom.\_color\_code) are not visible without digging into the API or using workarounds. It…

---

## [Expose 'currency conversion fee' to API](https://community.shopify.dev/t/expose-currency-conversion-fee-to-api/35506)

<div class="topic-metadata">

**Author:** [@Z33kyW0n](https://community.shopify.dev/u/Z33kyW0n)\
**Replies:** 3\
**Last updated:** [June 26, 2026, 3:33pm UTC](https://community.shopify.dev/t/expose-currency-conversion-fee-to-api/35506 "2026-06-26T15:33:16Z")

</div>

Hello and thanks for reading/responding. We are creating custom reports for our Shopify data and it would be very beneficial to expose the ‘currency conversion fee’ field to the API so that we can track fees across inter…

---

## [Setting adminFilterable for metafield definition fails to complete](https://community.shopify.dev/t/setting-adminfilterable-for-metafield-definition-fails-to-complete/18058)

<div class="topic-metadata">

**Author:** [@DavidT](https://community.shopify.dev/u/DavidT)\
**Replies:** 11\
**Last updated:** [June 25, 2026, 9:15pm UTC](https://community.shopify.dev/t/setting-adminfilterable-for-metafield-definition-fails-to-complete/18058 "2026-06-25T21:15:29Z")

</div>

When enabling the option to allow using a metafield definition to filter products, if you enable it from the Shopify admin, it usually enables almost immediately. However, when doing it from the API, it stays pending in…

---

## [Metafields and Metaobjects within an unlisted Shopify App](https://community.shopify.dev/t/metafields-and-metaobjects-within-an-unlisted-shopify-app/35470)

<div class="topic-metadata">

**Author:** [@Jeff\_Nelon](https://community.shopify.dev/u/Jeff_Nelon)\
**Replies:** 3\
**Last updated:** [June 24, 2026, 5:56pm UTC](https://community.shopify.dev/t/metafields-and-metaobjects-within-an-unlisted-shopify-app/35470 "2026-06-24T17:56:23Z")

</div>

I recently created a custom app. Along side some other things, this app creates a metafield using the metafieldDefinitionCreate GraphQL mutation which is a mixed reference using four metaobjects the app also creates (wit…

---

## [How to accurately determine what variant is displayed by default without Liquid](https://community.shopify.dev/t/how-to-accurately-determine-what-variant-is-displayed-by-default-without-liquid/33802)

<div class="topic-metadata">

**Author:** [@sshaw](https://community.shopify.dev/u/sshaw)\
**Replies:** 3\
**Last updated:** [June 20, 2026, 4:29pm UTC](https://community.shopify.dev/t/how-to-accurately-determine-what-variant-is-displayed-by-default-without-liquid/33802 "2026-06-20T16:29:52Z")

</div>

Not sure if this is the best category for this as it’s not strictly metafield-related but here’s the problem: Creating a product-level metafield with JavaScript to be used as a dynamic source from the theme editor (note…

---

## [Product Variant Metafield/MetaObject Question?](https://community.shopify.dev/t/product-variant-metafield-metaobject-question/35122)

<div class="topic-metadata">

**Author:** [@ChrisBradley](https://community.shopify.dev/u/ChrisBradley)\
**Replies:** 9\
**Last updated:** [June 13, 2026, 12:00pm UTC](https://community.shopify.dev/t/product-variant-metafield-metaobject-question/35122 "2026-06-13T12:00:27Z")

</div>

Hey All, I am looking to store information on a variant (metafield or metaobject) that includes the following: VariantSelector Quantity Number There will be multiple items of these, but each value should have (Varian…

---

## [Variant Level Category Metafield?](https://community.shopify.dev/t/variant-level-category-metafield/34910)

<div class="topic-metadata">

**Author:** [@ChrisBradley](https://community.shopify.dev/u/ChrisBradley)\
**Replies:** 4\
**Last updated:** [June 12, 2026, 3:01am UTC](https://community.shopify.dev/t/variant-level-category-metafield/34910 "2026-06-12T03:01:48Z")

</div>

Hey, Wondering if it is possible to have a category metafield on the variant? I wanted to have a metafield that is only on a particular product type.

---

## [Dynamic Source Metafields for single\_line\_text\_field Not Listed in richtext But Shown in inline\_richtext](https://community.shopify.dev/t/dynamic-source-metafields-for-single-line-text-field-not-listed-in-richtext-but-shown-in-inline-richtext/34698)

<div class="topic-metadata">

**Author:** [@J\_J](https://community.shopify.dev/u/J_J)\
**Replies:** 3\
**Last updated:** [May 28, 2026, 4:31pm UTC](https://community.shopify.dev/t/dynamic-source-metafields-for-single-line-text-field-not-listed-in-richtext-but-shown-in-inline-richtext/34698 "2026-05-28T16:31:14Z")

</div>

I have created a single\_line\_text\_field metafield definition on products: { "data": { "metafieldDefinition": { "access": { "admin": "PUBLIC\_READ\_WRITE", "storefront": "PUBLIC\_READ" }, ... "ownerTy…

---

## [\[Feature\] Shopify Metafield Types](https://community.shopify.dev/t/feature-shopify-metafield-types/34369)

<div class="topic-metadata">

**Author:** [@JordanFinners](https://community.shopify.dev/u/JordanFinners)\
**Replies:** 1\
**Last updated:** [May 26, 2026, 7:15pm UTC](https://community.shopify.dev/t/feature-shopify-metafield-types/34369 "2026-05-26T19:15:33Z")

</div>

I noticed recently that the list of metafield types has expanded significantly, this is awesome to see. List of data types Would it be possible to request adding Location reference type, to reference a Shopify Location?…

---

## [\[URGENT\] App-reserved metafield definitions blocking product/variant updates after app uninstall — \`Access to this namespace and key on Metafields for this resource type is not allowed\`](https://community.shopify.dev/t/urgent-app-reserved-metafield-definitions-blocking-product-variant-updates-after-app-uninstall-access-to-this-namespace-and-key-on-metafields-for-this-resource-type-is-not-allowed/34421)

<div class="topic-metadata">

**Author:** [@Luke](https://community.shopify.dev/u/Luke)\
**Replies:** 3\
**Last updated:** [May 18, 2026, 3:04pm UTC](https://community.shopify.dev/t/urgent-app-reserved-metafield-definitions-blocking-product-variant-updates-after-app-uninstall-access-to-this-namespace-and-key-on-metafields-for-this-resource-type-is-not-allowed/34421 "2026-05-18T15:04:53Z")

</div>

This is a different problem from the existing “definitions persist after uninstall” threads. The persisting definitions aren’t just cosmetic - they’re actively \*\*blocking merchants from updating their own products and va…

---

## [Metafield - Metaobject reference write failures](https://community.shopify.dev/t/metafield-metaobject-reference-write-failures/33353)

<div class="topic-metadata">

**Author:** [@bkspace](https://community.shopify.dev/u/bkspace)\
**Replies:** 8\
**Last updated:** [May 15, 2026, 9:47am UTC](https://community.shopify.dev/t/metafield-metaobject-reference-write-failures/33353 "2026-05-15T09:47:20Z")

</div>

Hey folks, We’ve seen an uptick in error messages along the lines of: \[DiscountRefresher\] \[-------.myshopify.com\] Collection metafield writes failed: Collection metafield writes had 1 failed batch(es): \[{"field":\["meta…

[Next page](https://community.shopify.dev/tag/metafields/17.md?match_all_tags=true&page=1&tags%5B%5D=metafields)
