Xero
Check the sheepCRM / Xero connection:
/api/v1/$FLOCK/partner/xero/
http GET https://api.sheepcrm.com/api/v1/$FLOCK/partner/xero/ Authorization:"Bearer $API_KEY"HTTP/1.1 200 OK
{ "message": "Connection to Xero merchant a57c7e8e-1a8d-4892-9a74-b9bdf0582512 active.", "status": "connected"}http GET https://api.sheepcrm.com/api/v1/$FLOCK/partner/xero/ Authorization:"Bearer $API_KEY"HTTP/1.1 200 OK
{ "message": "Connection to Xero required", "status": "not connected"}Connect sheepCRM to Xero
Section titled “Connect sheepCRM to Xero”GET to the auth endpoint will begin the user OAuth2 flow ending with auth-finish.
/api/v1/$FLOCK/partner/xero/auth//api/v1/$FLOCK/partner/xero/auth-finish/
Revoke Xero API Access
Section titled “Revoke Xero API Access”Clears access tokens thereby disconnecting sheepCRM from Xero.
http DELETE /api/v1/$FLOCK/partner/xero/revoke/HTTP/1.1 200 OK
{}