Skip to main content
Solved

customer addresses changing id on each request

  • Dec 19, 2022 11:26 PM UTC
  • 1 reply
  • 110 views
  • Translate All

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.

 

 

View original

1 reply

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • Answer
  • Dec 20, 2022 5:27 PM UTC

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.

 

 

Translate