Skip to main content
Solved

customer addresses changing id on each request

  • December 19, 2022
  • 1 reply
  • 72 views

Hi,

 

I’m using this GET to get tue customer with the bill to and ship to addresses

/entity/Default/18.200.001/Customer?$expand=MainContact,MainContact/Address,ShippingContact/Address,BillingContact/Address

 

It works just fine, the only thing I noticed is that on each request I get the Address.id property (that looks like a guid) changes value

 

Is this expected?

What is the best way to get a unique ID of it?

 

Thanks,

Ignacio

Best answer by jinin

Hi @ignacio85 ,

Are you referring the SessionID for each session?

This sessionID we can use to update the Customer particular section data like tax, shipping contact, shipping address, etc. We can’t use the ID once the session is expired.

We will not get the unique addressID or the contactID in the response message.

 

 

1 reply

jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • Answer
  • December 20, 2022

Hi @ignacio85 ,

Are you referring the SessionID for each session?

This sessionID we can use to update the Customer particular section data like tax, shipping contact, shipping address, etc. We can’t use the ID once the session is expired.

We will not get the unique addressID or the contactID in the response message.