question

abbeydale avatar image
abbeydale asked David Marginian Deactivated edited

API token and merchant ID for multi store chain

Created an API key through the dashboard and we use that in conjunction with a merchant ID from a multi store chain, it comes back with a failure. What is the solution here?

InventoryAPI TokenMerchant
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered abbeydale commented

I don't understand your question. Can you please provide details? What are you doing? Making a REST API call? What API? What is the response?

1 comment
10 |2000

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

abbeydale avatar image abbeydale commented ·

We are trying to pull information using an API key created through the dashboard, but when we use the API key for a multiple chain store it does not work. Is there a way to be able to interact with multiple merchant ID's using one or many API keys. Whenever we try to connect to the API we get a 401 error and we normally get the 200 message with single cover stores

0 Likes 0 ·
abbeydale avatar image
abbeydale answered David Marginian Deactivated edited

We are trying to pull information using an API key created through the dashboard, but when we use the API key for a multiple chain store it does not work. Is there a way to be able to interact with multiple merchant ID's using one or many API keys. Whenever we try to connect to the API we get a 401 error and we normally get the 200 message with single cover stores

1 comment
10 |2000

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

David Marginian avatar image David Marginian ♦♦ commented ·

That is the same comment you posted below. Please see my answer above.

0 Likes 0 ·
David Marginian avatar image
David Marginian Deactivated answered

What API are you talking about? Are you trying to make REST calls? Using an API key is not the correct approach (https://docs.clover.com/clover-platform/docs/create-an-api-token). The correct approach is to follow the OAuth process - https://docs.clover.com/clover-platform/docs/using-oauth-20.

10 |2000

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

abbeydale avatar image
abbeydale answered David Marginian Deactivated edited

We are looking at the rest API customer end point. The access token that we get from the dashboard in conjunction with merchant ID is failing and returning an error code


1 comment
10 |2000

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

David Marginian avatar image David Marginian ♦♦ commented ·

Please see the links in my answer. You need to use an OAuth token. Tokens generated via the dashboard are for testing only and don't work across merchants.

0 Likes 0 ·

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