These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

/api/Item endpoint Commerce Product status

Hello,

When querying the /api/Item endpoint, ItemStatus is only present if the commerce item isn't active.
It also has magic numbers that aren't used elsewhere(?).
e.g. Inactive items show as "ItemStatus": 1, Marked for deletion items show as "ItemStatus": 3

However when you query ?ItemStatus=A or ?ItemStatus=I it appears to work as expected.
Querying using the magic numbers does not work.

This issue is documented in Issue Tracker: https://support.imis.com/hc/en-us/requests/114375

Thanks.