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

ODATA Web Service Api returning different quantity for all products vs indiviudal product

(0) ShareShare
ReportReport
Posted on by 5

I am currently building an integration between bc and shopify using an integration software celigo.
We have assembly products that are assembled to order and do not use the conventional inventory field. As you can see our inventory displays 0 each for this product 
pastedimage1670510426063v1.png 

We have the amount able to be assembled as a quantity available field on the item  card as pictured below

 pastedimage1670510547357v2.png

I have been testing endpoints for the integration using postman.
When I query the web service for this individual item it returns the appropriate value for the quantity available field.

Endpoint 1 /Item_Card(No='HSA12401-001')?$select=No,QuantityAvailable

pastedimage1670510795623v4.png

However when I query the same endpoint but all products ie: not specifying the product No. The QuantityAvailable field displays -49 for all products.

Endpoint 2  /Item_Card?$select=No,QuantityAvailable

pastedimage1670510669319v3.png

How can I get the QuantityAvailable field to display the correct value for the list of products.

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    Hi

    I think you have to use an API that goes on the item list and on the card

    e.g. use these

    api.businesscentral.dynamics.com/.../items

    you could also have it developed with the items you need

    DAniele

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