question

rmgas avatar image
rmgas asked ·

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 characters needed characters left characters exceeded

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 answered ·
We are aware of the issue with the doc site. Please use https://docs.clover.com/clover-platform/reference in the meantime.
1 comment Share
10 |2000 characters needed characters left characters exceeded

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

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 answered ·
I know stockCount is deprecated, have you tried using itemStock? Can you send the request you are using?
Share
10 |2000 characters needed characters left characters exceeded

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