web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Error trying to update customer on Microsoft Dynamics 365 Business Central using API

(0) ShareShare
ReportReport
Posted on by 25

When I try and update a customer via the API I get the following error returned:

    "error": {
        "code""BadRequest_ResourceNotFound",
        "message""Resource not found for the segment 'customer'.  CorrelationId:  b5593eb6-2074-41fe-9106-d7bbdba8b452."
    }

The url I'm using is:- 

api.businesscentral.dynamics.com/.../customers(<id>)

I've tried for hours to figure it out, what could I be doing wrong?

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Did you try with Postman. Some more information about the project may be helpful for the community.

    Thanks.

  • Verified answer
    gradient Profile Picture
    120 on at

    I would suggest to check if your:

    • tenantId is correct;
    • companyId is correct;
    • make sure that environment name is correct (Production) - this is case sensitive (I am not sure if other are but this one is);
    • customerId (from error it looks that customer Id does not exist in the company)

    api.businesscentral.dynamics.com/.../customers(<custId>)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,857 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,047 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans