I want to show warning message on checkout page based on customer tags “active_subscriber”. I am using checkout ui extension. I am able to get the customer info like: Name, Email, Phone etc. But didn’t get the customer tags. I also try to get buyer data still getting the same customer info but didn’t get the customer tags. I have pass the scopes in the extension .toml file as well. Scopes like: customer_read_customers,read_customers,unauthenticated_read_customers Here is the code I am using function Extension() { const translate = useTranslate(); const { extension, buyerIdentity, query } = useApi(); const customer = useCustomer(); console.log(customer, “customer”); console.log(“buyerIdentity”, buyerIdentity); } Can anyone help me on this? Thanks
Did you get to solve this?
Yes, I want to solve this.
I meant were you able to
Hi Deshraj,
Currently, the Checkout UI Extension API does not support the exposure of customer tags, but I’ve flagged this as a feature request to our internal dev team.
2 Likes
Thank you Liam. I have a similar use case. I understand metafields are more elegant and precise, but it is a significant ask to transition legacy data for merchants who have many years, systems, and hundreds to thousands of tags worth of history.