Title: Adding address programmatically
Last modified: April 21, 2021

---

# Adding address programmatically

 *  Resolved [atsouflock](https://wordpress.org/support/users/atsouflock/)
 * (@atsouflock)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/adding-address-programmatically/)
 * Hello, i want to add the extra address for each user from an erp json connection.
 * If i am not mistaken to add shipping address i can call anywhere the save_address(
   with my customers id,’shipping’, array with the new data) right?
 * What is the form that the array with the data should have to accept it properly?
 * Best Regards,
    Atsouf

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [ThemeHigh](https://wordpress.org/support/users/themehigh/)
 * (@themehigh)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/adding-address-programmatically/#post-14354729)
 * In our plugin, the address is getting saved to thwma_custom_address usermeta.
   You can retrieve the address data from here.
 * Further, we haven’t yet checked the compatibility of adding data using ERP JSON
   connection. We are not sure about the method that you are using inorder to send
   the data. Please verify the same from your side and if you are facing any issues,
   then please share us with the code and more details so that we can have a look
   into it.
 * Thank you!
 *  Thread Starter [atsouflock](https://wordpress.org/support/users/atsouflock/)
 * (@atsouflock)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/adding-address-programmatically/#post-14363757)
 * Thanks a lot guys. It worked like charm!!!!
 * I created the arrays and imported it and it reads it great.
 *  Plugin Author [ThemeHigh](https://wordpress.org/support/users/themehigh/)
 * (@themehigh)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/adding-address-programmatically/#post-14369811)
 * Great!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding address programmatically’ is closed to new replies.

 * ![](https://ps.w.org/themehigh-multiple-addresses/assets/icon-256x256.gif?rev
   =2618732)
 * [Multiple Shipping Addresses for WooCommerce (Address Book)](https://wordpress.org/plugins/themehigh-multiple-addresses/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/themehigh-multiple-addresses/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/themehigh-multiple-addresses/)
 * [Active Topics](https://wordpress.org/support/plugin/themehigh-multiple-addresses/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/themehigh-multiple-addresses/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/themehigh-multiple-addresses/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [ThemeHigh](https://wordpress.org/support/users/themehigh/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/adding-address-programmatically/#post-14369811)
 * Status: resolved