question

hobargj avatar image
hobargj asked ·

How to use Production API Token to Pull Data

Hello,

I am working with a brewery that utilizes Clover as their POS and they have asked me to correlate their data with some sensors that were recently installed in their established (beer sales vs. amount of beer poured). I have their merchant ID and have generated a production API Token, however I am still getting the error message "401 Unauthorized". What I am trying to accomplish is to pull the sales data and then filter out all of the data that does not involve beers poured. After the data has been filtered I would import that data into my database to be displayed elsewhere.

Is what I am doing possible - if so, how should I go about doing it? I do not believe that I am looking at the right documentation right now and could use some guidance.
Paymentssemi-integrationsInventoryAPI TokenProduction
1 comment
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.

Could you please post how you are calling the endpoints? Are you sending the API Token up with the header? How did you generate the token?

0 Likes 0 · ·

1 Answer

morenoh149 avatar image
morenoh149 answered ·
what does your curl look like?
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