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

Announcements

News and Announcements icon
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 194

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
    159 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
    194 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
    IB-29041624-0 Profile Picture
    1,191 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
    159 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,344 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,742 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,231

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans