question

andrewdzoom avatar image
andrewdzoom asked Raymond Lee Deactivated answered

401 Unauthorized on Inventory Filter Call

I am attempting to perform an API call that will grab a specific inventory item based on the name. I can grab all inventory items for a merchant using this:
https://apisandbox.dev.clover.com/v3/merchants/MER... and that works without issue but when I add a filter at the end or after the items then it gives a 401 unauthorized
Inventory
10 |2000

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

1 Answer

Raymond Lee avatar image
Raymond Lee Deactivated answered
Hi @andrewdzoom,

A 401 unauthorized is due to a missing or incorrect access token, so make sure you are still including the access_token even when adding a filter. You will need to use an ampersand (&) to separate your arguments, for example:

https://apisandbox.dev.clover.com/v3/merchants/MER...

-Raymond
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