# Partners (Deprecated)

## Lists available Partner Audit Trails for all partners.

 - [GET /api/partners/audit-trails](https://ecg-api-documentation.redocly.app/products/organizations/apis/orgs/partners-(deprecated)/partnercontroller_getaaudittrailsforall.md)

## Lists all the available Partners.

 - [GET /api/partners](https://ecg-api-documentation.redocly.app/products/organizations/apis/orgs/partners-(deprecated)/partnercontroller_getall.md)

## Add the Partner.

 - [POST /api/partners](https://ecg-api-documentation.redocly.app/products/organizations/apis/orgs/partners-(deprecated)/partnercontroller_addpartner.md)

## Get the Partner by Id.

 - [GET /api/partners/{partnerId}](https://ecg-api-documentation.redocly.app/products/organizations/apis/orgs/partners-(deprecated)/partnercontroller_getpartnerbyid.md)

## Patches the Partner information by updating the items.

 - [PATCH /api/partners/{partnerId}](https://ecg-api-documentation.redocly.app/products/organizations/apis/orgs/partners-(deprecated)/partnercontroller_update.md)

## Lists available Partner Audit Trails for given partnerId.

 - [GET /api/partners/{partnerId}/audit-trails](https://ecg-api-documentation.redocly.app/products/organizations/apis/orgs/partners-(deprecated)/partnercontroller_getaaudittrailsforid.md)

## Syncs the Partner information in CRM

 - [POST /api/partners/{partnerId}/crm-sync](https://ecg-api-documentation.redocly.app/products/organizations/apis/orgs/partners-(deprecated)/partnercontroller_crmsync.md)

## Manages to Sync the customerId information from the Partner's legacy-identifier. Please Note this endpoint is for testing purpose only and will be removed shortly.

 - [POST /api/partners/sync/customerId](https://ecg-api-documentation.redocly.app/products/organizations/apis/orgs/partners-(deprecated)/partnercontroller_synccontactid.md)

## Partner Created Webhook API (deprecated)

 - [POST /api/integrations/apptivo/partners-create](https://ecg-api-documentation.redocly.app/products/organizations/apis/orgs/partners-(deprecated)/partnercontroller_processcreatedpartnerwebhook.md)

## Partner Deleted Webhook API (deprecated)

 - [POST /api/integrations/apptivo/partners-delete](https://ecg-api-documentation.redocly.app/products/organizations/apis/orgs/partners-(deprecated)/partnercontroller_processdeletedpartnerwebhook.md)

## Partner Updated Webhook API (deprecated)

 - [POST /api/integrations/apptivo/partners-update](https://ecg-api-documentation.redocly.app/products/organizations/apis/orgs/partners-(deprecated)/partnercontroller_processupdatedpartnerwebhook.md)

## The script will scan the organization table and set the customer_id field to NULL wherever it is currently populated for OLD PARTNER TABLE ENTRIES ONLY. (deprecated)

 - [POST /api/partners/reset-organization-customers](https://ecg-api-documentation.redocly.app/products/organizations/apis/orgs/partners-(deprecated)/partnercontroller_onboardpartnersv2.md)

