cURL
curl --request POST \ --url https://api.xplenty.com/{account_id}/api/connections/test \ --header 'Accept: <accept>' \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "type": "<string>" } '
{ "status": "success", "message": "<string>" }
Tests a new connection before creating it.
Enter your API key as the username. Leave the password field blank. Example: curl -u YOUR_API_KEY: https://api.xplenty.com/...
curl -u YOUR_API_KEY: https://api.xplenty.com/...
API version header — required on all requests
Connection type identifier
Connection test result
success
failure
Was this page helpful?