Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Unanswered

Update existing entities

(1) ShareShare
ReportReport
Posted on by 2
Hi Team,
 
 
I'm trying to update the customer address with commerce api using PATCH method, but it creates new record each time.
How to update the existing address of the customer through commerce api ?
 
 
 
Thanks in advance.
  • Judy Profile Picture
    Judy Microsoft Employee on at
    Update existing entities
    To update the existing address of a customer through the Commerce API using the PATCH method, you need to provide the unique identifier of the existing address record in the request URL.
  • S Gopi Krishna Profile Picture
    S Gopi Krishna 358 on at
    Update existing entities
    We faced similar issue and it is seems to be a standard behaviour. You can try using a primary key such as 'Location ID' to update the existing record or customize it accordingly.
  • Martin Dráb Profile Picture
    Martin Dráb 230,466 Most Valuable Professional on at
    Update existing entities
    It seems that it identify an existing record by the provided key values. Unfortunately it's impossible to say more without more information from you. What you can do on your own is debugging the entity.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans