The Item record is the same for all varieties of an Item, and the cost price is a part of the item record.
Regarding the sales price, it is not possible to set different prices per variety. I suggest you to report a development wish
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 ...