question

rmgas avatar image
rmgas asked David Marginian Deactivated answered

Items API Endpoint returning incorrect value in stockCount field

For most items, the stockCount coming across is 0 or even a negative amount. Is there anything going on with the API currently?

I was going to try to look up how to just pull from the Inventory API but the doc site is messed up to the point where it won't show anything at all.
API Token
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian Deactivated answered rmgas commented
We are aware of the issue with the doc site. Please use https://docs.clover.com/clover-platform/reference in the meantime.
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

rmgas avatar image rmgas commented ·

Thank you for the info. Do you know anything of the API not returning correct stockCount values when pulling items?

0 Likes 0 ·
David Marginian avatar image
David Marginian Deactivated answered
I know stockCount is deprecated, have you tried using itemStock? Can you send the request you are using?
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community