Skip to main content

Notifications

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?

  • Verified answer
    gradient Profile Picture
    120 on at
    RE: Error trying to update customer on Microsoft Dynamics 365 Business Central using API

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

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: Error trying to update customer on Microsoft Dynamics 365 Business Central using API

    Hello,

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

    Thanks.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans