The fields are similar to the normal shipping fields but replace the prefix with values like shipping2_ and shipping3_
You also need an array of all the address names used which is stored in wc_address_book
See this thread for a sample PHP script being used to import addresses.
https://ww.wp.xz.cn/support/topic/add-new-adresses-via-php/
Thank you for the quixk response.
And in case I have to add an additional field to these addreses?
I have to add a custom metafield called “internal_id” for each address, this because when I send the order to my ERP y have to send the internal ID of the addresss to avoid create new addreses.
Thanks
If in your default shipping address you have this saved as shipping_internal_id
You can just save it with the other prefix like shipping2_internal_id or shipping3_internal_id.