Filling up the "Contact Information" section of the order

Solved
sengming
Shopify Partner
41 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)
csam
Shopify Staff (Retired)
Shopify Staff (Retired)
267 40 49

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!

 

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

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

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!

 

To learn more visit the Shopify Help Center or the Community Blog.

sengming
Shopify Partner
41 1 1

Thank you, that work!