Make a sample REST API call

United States
Canada
Europe
Latin America

The Clover REST API lets you query relevant information about Clover merchants in your web app. Relevant information, such as merchant inventory, orders, and payments, is available to you using our REST API. An endpoint represents each type of merchant information.

👍

TIP

For your Android app, you can simply generate an API token and query web services using Clover Android SDK.

Make a sample REST API call and retrieve your test merchant's name

  1. Go to the API Reference.
  2. Click Merchants > Get a single merchant and enter the Merchant Id. The merchant identifier or mId is a 13-character ID that displays in the browser link (URL) of the Merchant Dashboard for your test merchant.
  3. Click the Query Auth icon at the top-right next to the Try It button.
  4. Enter the access_token value. Access token is the test API token that you generated in the sandbox Developer Dashboard.
  5. Click Try It. The output JSON of the API call is generated on the right side of the screen. In the results, the value of the Name Key is your test merchant's name.

Test Rest API calls with the sample inventory

Use the sample inventory file to test more REST API calls for your test merchant. On the Merchant Dashboard, select the Inventory app, and then follow the instructions to upload the sample inventory file. See Import inventory.

For more information, see Use Clover REST API.