CarrierService rate request always has null email address

CarrierService rate request always has null email address

bobbrodie
Shopify Partner
1 0 2

Hello,

 

I'm working on a custom CarrierService and it's working well. There's one part that's giving me trouble, however. If I look at the destination fields, we receive values for the name and address fields, but email is always null, even if the user is logged in and has opted-in to marketing. 

 

Is email always blank, or is there a way to activate it? The goal here is that we'll use the email address to look up details that influence the CarrierService rate in our response.

 

Thank you!

Reply 1 (1)

kolevich
Shopify Partner
22 0 5

I would like to join the thread as we have recently faced this issue too. Our assumption is that the app might miss some store's permissions to be able to get destination.email in the shipping API call. I hope someone has the solution here.

Co-founder & CEO at Calcurates. Accurate shipping rates and unique shipping rules for Shopify made simple.
Apps: Calcurates: Accurate Shipping | Calcurates: Estimated Shipping