How can I access Admin API for POS UI Extension?

Topic summary

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:

  • UI Extension → call a backend route (e.g., GET /readCustomer).
  • App backend (e.g., index.js) → authenticate and fetch data from the Admin API (customers/products and their tags), then return the response to the UI Extension.

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.

Summarized with AI on January 21. AI used: gpt-5.

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

1 Like

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 :winking_face_with_tongue:

POS Route