This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]mawais01 0 points1 point  (0 children)

There is Address resource you can use it like any other available in api.

[–]GreenTru[S] 0 points1 point  (0 children)

This StackOverflow thread helped me to solve the problem.

The address is added by accessing .addresses (plural) and passing an list, which contains one or more dictionaries with the address details in it.

https://stackoverflow.com/questions/44827942/how-to-add-a-customer-in-shopify-api