Registration webhook - currency field doesn't update?

md_
New Member
4 0 0

Hey,

I'm sure many of you are familiar with the standard registration webhook payload:

{"id":5049024807069,"email":"testtest@yopmail.com","accepts_marketing":false,"created_at":"2021-03-06T16:42:39+01:00","updated_at":"2021-03-06T16:42:39+01:00","first_name":"fname","last_name":"lname","orders_count":0,"state":"enabled","total_spent":"0.00","last_order_id":null,"note":null,"verified_email":false,"multipass_identifier":null,"tax_exempt":false,"phone":null,"tags":"","last_order_name":null,"currency":"PLN","addresses":[],"accepts_marketing_updated_at":"2021-03-06T16:42:39+01:00","marketing_opt_in_level":null,"admin_graphql_api_id":"gid:\/\/shopify\/Customer\/5049024807069"}

I'm trying to understand what controls the currency field there. As you can see it currently is set to PLN. The problem is, however, that in my shop, I'm trying to set up two curriencies. When I was registering this account, the currency was set to EUR, but the payload still shows PLN. Do I need an additional logic that updates the currency based on what the consumer is using? I'm wondering if anyone has had any experience with setting that up and can give me an advice on what's the best approach. 

Thanks! 

0 Likes