Access Resource Metafields in POS without a backend/proxy

The experience between creating POS extensions and Checkout Extensions is pretty different when it comes to leveraging resource based metafields (customer, product etc). They’re easily accessible in the online checkout, but POS is not so slick.

Having to create a backend to go query the data to then send back to our extensions is an frustrating one and creates a load of additional overheads compared to checkout extensions.

Curious to know if we’ll ever have native access to metafields in POS extensions and functions or if we’ll need to continue with the current approach?

2 Likes

AFAIK there’s no way to access metafields like we can in Checkout UI Extensions, for example. The current standard way of doing this is to make a Proxy call to the app and retrieve metafields - pretty cumbersome and a huge blocker for me personally from building something super feature rich for PoS

1 Like

@kinngh agreed - it’s a massive limitation for POS right now. Creating a backend for simple data retrieval is a real pain.

I was hoping the change log update below would maybe be the start of something allowing us to access metafields directly in the extension - who knows.

https://changelog.shopify.com/posts/customer-metafields-on-pos

So that changelog threw me off too - I immediately jumped to the conclusion that we have access to metafields on PoS but when reading the docs there was nothing, and then it hit me it’s not in dev changelogs and there was some level of disappointment there.

Though if they released customer metafields, I’m sure it’s safe to assume they’re also working on metafields hooks for PoS Extensions too and we should see it in 2025-01 / 2025-04 release?

1 Like

Yeah - here’s hoping!

@Liam-Shopify do you know if there’s any plans for this to become a reality (direct access to metafields in POS extensions)? Would really empower things on the POS front :raised_hands:

@Lewis Yes, there are plans for this to become a thing where we will have Direct API access to metafields via POS UI extensions the same way that we have it for Admin UI Extensions. Don’t have a timeline to share, however, it is on our radar.

6 Likes