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 created a “Markets” metaobject to stand in for actual Markets, but it’d be nice not to need that extra layer of indirection. A true market_reference type would let custom data reference a real Market directly.
Any chance this could get added to the list of reference types?
Hey @Colby - just confirming this is a current limitation. Markets can have metafields attached to them, but they aren’t currently supported as a reference target for metafields/metaobject fields, so there isn’t a market_reference type available right now.
The “Markets” metaobject workaround you mentioned is the best available path at the moment, though I definitely get why that extra indirection isn’t ideal.
Could you share a bit more about the use case you’re building around this? Specifically, are you trying to connect market-specific content/configuration to a metaobject, render Market-specific content in Liquid/Storefront API, or manage this mostly in Admin? That context would help make the feature request clearer on our end. Hope to speak soon!
Hey again @Colby - appreciate you confirming! I’ve logged this as a feature request on our end as well. Let me know if I can help with anything else on my side.