CarrierService destination email null

Sid
Shopify Expert
13 1 2

I am setting up an private app related to custom shipping.  And always get null value on email of destination object. Even try with logged customer, email value always be a null. https://prnt.sc/uniuw8

https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/carrierservice i see a email field but never get value on it.

is there any restrictrion on this API?

 

 

 

indiesk
Tourist
6 0 2

I'm having the very same problem. The email field for destination is always null, no matter what. Is this intended or a bug, Shopify?

0 Likes
_JCC_
Shopify Staff
Shopify Staff
65 9 9

@Sid & @indiesk,

This is expected behaviour. The email field will always be null when you receive the carrier service request from Shopify.

From the Shopify dev docs page for the Carrier Service API

For API-created carrier services, you should use only the following shipping address fields:

  • address1
  • address2
  • city
  • zip
  • province
  • country

Other values remain asnulland are not sent to the callback URL.

Regards,

John

John C | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes
Sid
Shopify Expert
13 1 2

@_JCC_ 

 

Thanks for your reply but if there need shipping based on customer group, can it possible send either customer email or customer id if possible.

 

Another thing in the line items array. Is it possible to get product type, tag or collection ID etc..

0 Likes