Skip to main content
Solved

How to get Customer Address via API?


Fail to   get customer address via Api ,  when i checked the endpoind I found entity properties “Address” has yellow exclamation point .Please help.

 

Best answer by jinin

Hi @Fredj and @SadokHanini ,

To get the Address for the customer, you should use the endpoint like below,
entity/Default/20.200.001/Customer/AACUSTOMER?$expand=MainContact/Address
 

 

View original
Did this topic help you find an answer to your question?

7 replies

SadokHanini
Freshman II
  • Freshman II
  • 42 replies
  • March 18, 2022

Hello,

I have the same issue !!


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • 693 replies
  • Answer
  • March 22, 2022

Hi @Fredj and @SadokHanini ,

To get the Address for the customer, you should use the endpoint like below,
entity/Default/20.200.001/Customer/AACUSTOMER?$expand=MainContact/Address
 

 


  • Author
  • Freshman I
  • 2 replies
  • March 22, 2022

Thanks so much for response, I did this  but its same issue.maybe is not same version of acumatica.Please check your Web Service Endpoints “Address” has yellow exclamation point or not  .


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • 693 replies
  • March 22, 2022

Hi @Fredj 

I tried with version 21.193.0119. The address not showing on yellow exclamation.
 

Which version you are using?

 


  • Author
  • Freshman I
  • 2 replies
  • March 23, 2022

Version 2020 R2


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • 693 replies
  • March 23, 2022

Hi @Fredj ,

I reviewed the endpoint on the 20 R2 version as well. Am not seen any warning message. Did you check with 18 version endpoint?
 

 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2750 replies
  • April 26, 2022

Hi @Fredj were you able to resolve your issue? Thank you!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings