Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Filling up the "Contact Information" section of the order

Solved

Filling up the "Contact Information" section of the order

sengming
Shopify Partner
52 1 9

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)
267 40 51

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)
267 40 51

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
52 1 9

Thank you, that work!