I cannot say precisely why does the Stock List give different values, but have you tried comparing it to Item History report?
Does it show any differences there?
Hi, Paul.
Sounds like you're talking about REST API. And that your are overwriting data with older values if B managed to read record before A finished to update it. Classic conflict resolution ...