Development discussions around Shopify APIs
Hi there,
Is it possible to fill up the "Contact Information" section of the order using the admin API? (see screenshot)
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!
Solved! Go to the solution
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
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
Thank you, that work!
User | RANK |
---|---|
44 | |
16 | |
9 | |
9 | |
7 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023