Hi,
I would like to be able to edit a custom tags per email without having to request email API access.
I have the customers email because they give it to me in my storefront extension. ( Genlook virtual try-on widget )
But to edit their tags I need the customer ID, that I can’t get.
Is there a way to edit customer tags only knowing a customer email, and without requesting the invasive email access ?
Thanks !
Hey @Thibault_Mathian There’s no way around the customer scopes for this at this time. To look up a customer by email and modify their tags, your app needs both read_customers and write_customers in your shopify.app.toml. The customers query supports filtering by email to get the customer GID, and tagsAdd takes that GID to apply the tags.
I get the concern about requesting what feels like broad access when you only need to tag customers, but there’s no narrower scope for this. The access scopes docs require read_customers and write_customers for any customer data interaction through the Admin API, including tag management.