Hi: I’m creating a POS UI Extension and I need to be able to read customer and product tags from the extension. I need to access the Admin Api. Is there a way to do this?
Thanks,
Luis
Accessing customer and product tags from a Shopify POS (Point of Sale) UI Extension requires going through your app backend; the extension cannot call the Admin API directly.
Proposed approach:
A Shopify doc on POS UI Extensions authentication is provided to guide setup. No alternative methods or disagreements were presented. Outcome: use a backend proxy pattern; thread appears effectively answered, with implementation left to the app developer.
Hi: I’m creating a POS UI Extension and I need to be able to read customer and product tags from the extension. I need to access the Admin Api. Is there a way to do this?
Thanks,
Luis
Hi,
The only way to do this is by creating a route in your app backend ( index.js ) and then fetching admin data from extension file via index.js
It would be much like
UI file → get /readCustomer
Index file → fetch customers from admin and throw a response back to UI file
Refer to this if i couldn’t explain properly ![]()