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

Notifications

Announcements

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
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

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,957 Moderator

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,245 Moderator

#3
YUN ZHU Profile Picture

YUN ZHU 1,045 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans