Shipping address Identifier

Nutraquestion
Visitor
2 0 0

i need some kinda of ID reference to the shipping address's to trying to create an EDI transaction with our ERP. 

 

is there something already there that i can use?

 

Replies 2 (2)

csam
Shopify Staff (Retired)
267 40 51

Hi @Nutraquestion 

There is an id field for customer addresses that you may be able to use for your application. Take a look at our docs here: https://shopify.dev/api/admin-rest/2021-10/resources/customer#resource_object You can see that the address field for the Customer object contains an id field. Hope this helps!

 

To learn more visit the Shopify Help Center or the Community Blog.

Nutraquestion
Visitor
2 0 0

Hey, 

 

thanks for the reply... it seems when i pulled a CSV that the ID field actually changes with every order. i need something that can identify each of the saved address for a customer by a different number. can you think of any other fields that might work?

secondly. if i were to use the first or last name as my identifier. would i be able to hide that info when we ship our? so it is not seen on the shipping label?