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?
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:
Other values remain as
nulland are not sent to the callback URL.
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..