Skip to main content
Solved

How to get Customer Address via API?

  • Mar 18, 2022 11:14 AM UTC
  • 7 replies
  • 815 views
  • Translate All

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

7 replies

SadokHanini
Freshman II
  • Freshman II
  • Mar 18, 2022 3:09 PM UTC

Hello,

I have the same issue !!

Translate

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • Answer
  • Mar 22, 2022 8:56 AM UTC

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
 

 

Translate

  • Author
  • Freshman I
  • Mar 22, 2022 9:45 AM UTC

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  .

Translate

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • Mar 22, 2022 9:49 AM UTC

Hi @Fredj 

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

Which version you are using?

 

Translate

  • Author
  • Freshman I
  • Mar 23, 2022 7:44 AM UTC

Version 2020 R2

Translate

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • Mar 23, 2022 3:29 PM UTC

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?
 

 

Translate

Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • Apr 26, 2022 4:29 PM UTC

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

Translate