question

wapwot avatar image
wapwot asked ·

Server to Server communication

I'm currently working on a solution for a single merchant.This solution is not going to be an app that is available to multiple merchants, the only use is reading inventory data and aggregating it with other business data (stored elsewhere) to produce reports.
I have a server that is responsible for building the report, but it needs to periodically make a call to clover for inventory data.
I've been given a merchant id and token (provided by customer services) that I've been told will allow me to accomplish what I need, but I'm getting a 401 unauthorised error. Assuming that the token will work the oauth process shouldn't be required. Also, it's all run by automated services so there will be no end user to do the login.
Is the token incorrect, or could there be something else blocking my access?

Thanks.
API TokenOAuth
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.

1 Answer

Miguel avatar image
Miguel answered ·
Unfortunately, merchant generated API tokens are exclusively for development and testing purposes only. If an app requires an API token, they must be generated through OAuth or the Android SDK. It appears there was a miscommunication about this. Both require an app be published in our App Market. We do not currently support private apps.
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