Documentation
ECG (1.0)
Request
Permissions needed - organizations.billing.admin (This is for backward compatibility and will be deprecated soon) ,partners.create (This is the required permission to create a partner)
status: 1 indicates "Not Started", status: 2 indicates "Welcome Call", status: 3 indicates "Partner Education", status: 4 indicates "Completed",
status: 1 indicates "Contracted", status: 2 indicates "Active", status: 3 indicates "Suspended", status: 4 indicates "Separated"
Should be of type - yyyy-MM-dd
field has been deprecated
field has been deprecated
- Mock serverhttps://docs.ecg-api.com/_mock/products/organizations/apis/orgs/api/v2/partners
- https://orgs.ecg-api.com/api/v2/partners
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ecg-api.com/_mock/products/organizations/apis/orgs/api/v2/partners?createApptivoAccount=true&createBillDotComProfile=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"organization": {
"legacyIdentifier": "ae23fba4-f740-4d74-bbd6-80beee24f8f2",
"parentId": "5a1bc4c5-520f-4637-acac-99412fd97509",
"type": "1",
"hcoXrefId": "string",
"businessName": "string",
"displayName": "string",
"integrationMetadata": {
"key": {
"key1": "value1",
"key2": "value2"
}
},
"addresses": [
{
"addressLine1": "252 Lomas Santa Fe Dr Suite 290",
"addressLine2": "Behind times square garden",
"stateProvinceCode": "AL",
"city": "San Diego",
"postalCode": "92075",
"countryCode": "US",
"regionCode": "US",
"addressType": 1
}
],
"phoneNumbers": [
{
"extension": "string",
"phoneNumber": "string",
"phoneType": 1
}
],
"onBoardingPartnerId": "7bfbe222-e8db-4305-86ee-38eddc7df552",
"originationSource": "CRM",
"onBoardingStatus": 1,
"organizationStatus": 1,
"rrmsSiteGroupId": "string",
"signOnDate": "2026-03-04T17:27:05.253Z",
"timezoneId": "string",
"actionPlanCode": "11011",
"vendorProfileIds": [
"e596d9f2-0642-4575-897a-8cdb9c18c882"
]
},
"partnerCriteria": {
"partnerTypeId": "e8d2d255-3e62-413f-9275-e8929eced814",
"status": "active",
"commissionPayoutStatus": "active",
"deactivatedDate": "2026-03-04",
"onboardingDate": "2026-03-04",
"salesCutOffDate": "2026-03-04",
"enableCommissions": false,
"w9Submitted": false,
"isW2": false
},
"vendorAccount": {
"currency": "USD",
"accountNumber": "1234567890",
"email": "email@test.com",
"bankAccount": {
"paymentPurpose": {
"code": {
"name": "string"
},
"text": "OPTIONAL"
},
"type": "CHECKING",
"payeeName": "string",
"nameOnAccount": "string",
"accountNumber": "1234567890",
"routingNumber": "021000021",
"regulatoryFields": [
{
"name": "string",
"value": "string"
}
]
}
}
}'{ "id": "854e27cb-7ddd-4c0f-950d-1d60bc9e0cb9", "type": "string", "status": "string", "hcoXrefId": "string", "businessName": "string", "displayName": "string", "integrationMetadata": { "key": "value" }, "nodes": [ "a60dbf9d-2963-4256-9019-94296a81cb1c" ], "ancestryNodes": [ "289fe665-e0aa-4eab-9440-cdbfbd9afdee" ], "originationSource": "string", "onBoardingStatus": 1, "organizationStatus": 1, "rrmsSiteGroupId": "974ad49c-2a0c-4a88-b25a-5852047b3407", "timezoneId": "string", "archiveInfo": { "archived": false, "archivedStatusChangedAt": "2026-03-04T17:27:05.147Z" }, "auditInfo": { "createdAt": "2026-03-04T17:27:05.145Z", "createdBy": "a36ac2c8-1a00-4cf0-9f8c-981dc1ffd4cd", "updatedAt": "2026-03-04T17:27:05.146Z", "updatedBy": "1372b691-af02-4b90-945a-c6351e785879" }, "activeInfo": { "active": true, "activeStatusChangedAt": "2026-03-04T17:27:05.147Z" }, "party": { "id": "c182ed73-7b78-4d27-a14b-e30acf7f4104", "legacyIdentifier": "string", "archiveInfo": { … }, "auditInfo": { … }, "activeInfo": { … }, "phoneNumbers": [ … ], "addresses": [ … ] }, "signOnDate": "2026-03-04T17:27:05.269Z", "actionPlanCode": "string", "customerId": "string", "partnerCriteria": { "id": "2faa49d6-1f60-452b-a6b8-a8b3acb8f384", "partnerType": { … }, "status": "on-boarded", "commissionPayoutStatus": "active", "deactivatedDate": "2026-03-04T17:27:05.268Z", "onboardingDate": "2026-03-04T17:27:05.268Z", "salesCutOffDate": "2026-03-04T17:27:05.268Z", "enableCommissions": false, "w9Submitted": false, "isW2": false, "vendorMetadata": { … } }, "vendorProfiles": { "id": "884b7b3f-1cc2-44e9-8ae9-62c8a966916e", "name": "string", "source": "anelto", "description": "string", "auditInfo": { … }, "activeInfo": { … } }, "onBoardingPartner": { "id": "854e27cb-7ddd-4c0f-950d-1d60bc9e0cb9", "type": "string", "status": "string", "hcoXrefId": "string", "businessName": "string", "displayName": "string", "integrationMetadata": { … }, "nodes": [ … ], "ancestryNodes": [ … ], "originationSource": "string", "onBoardingStatus": 1, "organizationStatus": 1, "rrmsSiteGroupId": "974ad49c-2a0c-4a88-b25a-5852047b3407", "timezoneId": "string", "archiveInfo": { … }, "auditInfo": { … }, "activeInfo": { … }, "party": { … }, "signOnDate": "2026-03-04T17:27:05.269Z", "actionPlanCode": "string", "customerId": "string", "partnerCriteria": { … }, "vendorProfiles": { … } }, "parentPartner": { "id": "854e27cb-7ddd-4c0f-950d-1d60bc9e0cb9", "type": "string", "status": "string", "hcoXrefId": "string", "businessName": "string", "displayName": "string", "integrationMetadata": { … }, "nodes": [ … ], "ancestryNodes": [ … ], "originationSource": "string", "onBoardingStatus": 1, "organizationStatus": 1, "rrmsSiteGroupId": "974ad49c-2a0c-4a88-b25a-5852047b3407", "timezoneId": "string", "archiveInfo": { … }, "auditInfo": { … }, "activeInfo": { … }, "party": { … }, "signOnDate": "2026-03-04T17:27:05.269Z", "actionPlanCode": "string", "customerId": "string", "partnerCriteria": { … }, "vendorProfiles": { … } }, "subsidiaries": [ { … } ] }
Default Value: [Active,Inactive,Suspended,Restored]
To filter by partnerTypeIds, make sure to include include=partner-type in the query parameters.
By adding the 'partnerIds' parameter to the API call, you can retrieve a list of partner information based on the specified IDs.
- Mock serverhttps://docs.ecg-api.com/_mock/products/organizations/apis/orgs/api/v2/partners
- https://orgs.ecg-api.com/api/v2/partners
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ecg-api.com/_mock/products/organizations/apis/orgs/api/v2/partners?order_by=ASC&skip=0&take=10&include=parent-partner&status=Active&partnerStatus=on-boarded&commissionPayoutStatus=active&searchTerm=string&partnerTypeIds=string&partnerIds=string&w9Submitted=true&enableCommissions=true&isW2=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'null
- Mock serverhttps://docs.ecg-api.com/_mock/products/organizations/apis/orgs/api/v2/partners/{partnerId}
- https://orgs.ecg-api.com/api/v2/partners/{partnerId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ecg-api.com/_mock/products/organizations/apis/orgs/api/v2/partners/string?include=parent-partner' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "id": "854e27cb-7ddd-4c0f-950d-1d60bc9e0cb9", "type": "string", "status": "string", "hcoXrefId": "string", "businessName": "string", "displayName": "string", "integrationMetadata": { "key": "value" }, "nodes": [ "a60dbf9d-2963-4256-9019-94296a81cb1c" ], "ancestryNodes": [ "289fe665-e0aa-4eab-9440-cdbfbd9afdee" ], "originationSource": "string", "onBoardingStatus": 1, "organizationStatus": 1, "rrmsSiteGroupId": "974ad49c-2a0c-4a88-b25a-5852047b3407", "timezoneId": "string", "archiveInfo": { "archived": false, "archivedStatusChangedAt": "2026-03-04T17:27:05.147Z" }, "auditInfo": { "createdAt": "2026-03-04T17:27:05.145Z", "createdBy": "a36ac2c8-1a00-4cf0-9f8c-981dc1ffd4cd", "updatedAt": "2026-03-04T17:27:05.146Z", "updatedBy": "1372b691-af02-4b90-945a-c6351e785879" }, "activeInfo": { "active": true, "activeStatusChangedAt": "2026-03-04T17:27:05.147Z" }, "party": { "id": "c182ed73-7b78-4d27-a14b-e30acf7f4104", "legacyIdentifier": "string", "archiveInfo": { … }, "auditInfo": { … }, "activeInfo": { … }, "phoneNumbers": [ … ], "addresses": [ … ] }, "signOnDate": "2026-03-04T17:27:05.269Z", "actionPlanCode": "string", "customerId": "string", "partnerCriteria": { "id": "2faa49d6-1f60-452b-a6b8-a8b3acb8f384", "partnerType": { … }, "status": "on-boarded", "commissionPayoutStatus": "active", "deactivatedDate": "2026-03-04T17:27:05.268Z", "onboardingDate": "2026-03-04T17:27:05.268Z", "salesCutOffDate": "2026-03-04T17:27:05.268Z", "enableCommissions": false, "w9Submitted": false, "isW2": false, "vendorMetadata": { … } }, "vendorProfiles": { "id": "884b7b3f-1cc2-44e9-8ae9-62c8a966916e", "name": "string", "source": "anelto", "description": "string", "auditInfo": { … }, "activeInfo": { … } }, "onBoardingPartner": { "id": "854e27cb-7ddd-4c0f-950d-1d60bc9e0cb9", "type": "string", "status": "string", "hcoXrefId": "string", "businessName": "string", "displayName": "string", "integrationMetadata": { … }, "nodes": [ … ], "ancestryNodes": [ … ], "originationSource": "string", "onBoardingStatus": 1, "organizationStatus": 1, "rrmsSiteGroupId": "974ad49c-2a0c-4a88-b25a-5852047b3407", "timezoneId": "string", "archiveInfo": { … }, "auditInfo": { … }, "activeInfo": { … }, "party": { … }, "signOnDate": "2026-03-04T17:27:05.269Z", "actionPlanCode": "string", "customerId": "string", "partnerCriteria": { … }, "vendorProfiles": { … } }, "parentPartner": { "id": "854e27cb-7ddd-4c0f-950d-1d60bc9e0cb9", "type": "string", "status": "string", "hcoXrefId": "string", "businessName": "string", "displayName": "string", "integrationMetadata": { … }, "nodes": [ … ], "ancestryNodes": [ … ], "originationSource": "string", "onBoardingStatus": 1, "organizationStatus": 1, "rrmsSiteGroupId": "974ad49c-2a0c-4a88-b25a-5852047b3407", "timezoneId": "string", "archiveInfo": { … }, "auditInfo": { … }, "activeInfo": { … }, "party": { … }, "signOnDate": "2026-03-04T17:27:05.269Z", "actionPlanCode": "string", "customerId": "string", "partnerCriteria": { … }, "vendorProfiles": { … } }, "subsidiaries": [ { … } ] }