question

macleodjb avatar image
macleodjb asked alexcunn answered

Cannot connect to Clover api

Hi Guys. I'm new to clover to if this seems elementary I apologize.

I logged into my merchant account and created an api_token. Got my mID from drop down menu on the top right. I try to do a simple request in postman like this

https://api.clover.com/v3/merchants/{mID}/items?ac...

and the response I am getting back is this

{ "message": "401 Unauthorized"}

I made sure the user token I created has the correct priviledges already and it does.

I am NOT trying to create a public app for everyone to use. I am trying to create a private app that simply syncs my clover inventory, back to my ecommerce site. As soon as I can get this to function in postman I'll begin writing the script. Which will either be python or php.

What am I doing wrong?
API TokenAuth
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

·
alexcunn avatar image
alexcunn answered
Hi!,

Are you replacing mID with your merchant ID?
10 |2000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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