question

mmrazek avatar image
mmrazek asked Richelle Herrli answered

Rest API Help

Forgive my lack of knowledge, but i'm a new developer with Clover

If my end goal is to have Rest API access (from my own webserver) for example, updating inventory on my own production merchant account, do I need to use the Oath procedure to generate tokens or will it work to use my own Api token from the Clover Merchant Dashboard?

My app will never be sold and never available for purchase, it would be for my own companies use. Imagine an internal webserver, pushing new products to the Clover inventory

My current code is working from the sandbox environment but fails in production. Currently getting 401 errors in production

I'm actively reading the documentation, but have lots of questions!


REST API
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

·
Richelle Herrli avatar image
Richelle Herrli answered

We do not advise relying on a merchant-generated token for live merchant accounts for security and rate limit reasons. If you're receiving 401 errors in production, you will want to check your auth token to make sure it is a production token rather than a token for sandbox.

Happy coding!

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