Filling up the "Contact Information" section of the order

Solved
sengming
Shopify Partner
28 1 1

Hi there,

Is it possible to fill up the "Contact Information" section of the order using the admin API? (see screenshot)

sengming_1-1634068834479.png

 

Note that I've used the API to fill up the phone number on the customer, I also have the phone number on the shipping address. But still the contact information field on the admin page empty. Any ideas?

 

Thanks!

 

Accepted Solution (1)

Accepted Solutions
csam
Shopify Staff (Retired)
Shopify Staff (Retired)
267 40 47

This is an accepted solution.

Hi @sengming 

The contact information on an order are populated by the phone and email fields on the Order object. This is separate from the phone number in the shipping address or the phone number attached to the customer. You can read more about these fields here: https://shopify.dev/api/admin-rest/2021-07/resources/order. Hope this helps!

 

CS | API 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

View solution in original post

Replies 2 (2)
csam
Shopify Staff (Retired)
Shopify Staff (Retired)
267 40 47

This is an accepted solution.

Hi @sengming 

The contact information on an order are populated by the phone and email fields on the Order object. This is separate from the phone number in the shipping address or the phone number attached to the customer. You can read more about these fields here: https://shopify.dev/api/admin-rest/2021-07/resources/order. Hope this helps!

 

CS | API 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

sengming
Shopify Partner
28 1 1

Thank you, that work!