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:
address1
address2
city
zip
province
country
Other values remain as
null
and 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
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..
User | Count |
---|---|
14 | |
12 | |
10 | |
8 | |
7 |