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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

consume/refill items using Rest API

(0) ShareShare
ReportReport
Posted on by 190

Hi,

I want to use the Restful API to consume (-1) and refill (+1) of a inventory, but i cannot find the "Inventory Ledger" API, which API shall I use?

An example will be much appreciated.

-Regards,

Ming.

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    Download this: github.com/.../BC.API.Postman

    Has all the api’s and the inventory update is in there. You will just need to adjust some setups to have it running on your environment

  • Ming Chen Profile Picture
    190 on at

    Thank you Josh for answer. I tried a while and found the json v2.0 file is quite long and includes a collection of APIs. Not sure if I can just use one of them...

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    Hi Ming,

    There is no standard API available for doing inventory adjustments. The standard API's covers sales invoices / sales orders and purchase invoice / purchase order.

    If you want to adjust inventory using an Item journal you will need a custom API for that. 

    You can not manipulate the item ledger entries directly through the API because they are read only and are generated during posting.

  • JAngle Profile Picture
    133 on at

    Download it and add to postman.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans