question

aadel avatar image
aadel asked Frank Faustino Deactivated answered

Inline API V3 Test Returns "no content"

Hi,

Sending a request to retrieve inventory items from the inline API form returns "no content" and response code 0 ( see attached)

Request URL: https://api.clover.com:443/v3/merchants/T4NX...
Environment: Sandbox
API Version: 3

Note: works fine on API V2 docs

Thanks,
A.
REST APISandboxInventory
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

Frank Faustino avatar image
Frank Faustino Deactivated answered
Hi, @aadel. The base URL https://api.clover.com is our production environment. Since the test merchant you're trying to get inventory data from is located in Sandbox (our developer environment), use the Sandbox base URL instead: https://apisandbox.dev.clover.com

You can read more about making REST API calls to our various environments here: https://docs.clover.com/clover-platform/docs/making-rest-api-calls

Additionally, we have a new version of our API reference that uses the Sandbox base URL by default: https://docs.clover.com/clover-platform/reference
10 |2000

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