Retrieves a list of active customers onboarded on the platform, including customer profile, billing, onboarding, and configuration details such as assigned plans, payment methods, market information, ERP identifiers, and VAT details.
Endpoint
{{apiUrl}}/api/activecustomers/details?includeResellerContext=true
Endpoint Parameters
| Parameter | Required | Description |
|---|
{{apiUrl}} | Yes | C3 Portal API URL. |
Query Parameters
| Parameter | Required | Description |
|---|
includeResellerContext | No | Set to true to include reseller (indirect) customers in the response. Applies to partners only. Defaults to false, which returns only direct customers.
|
Request Headers
| Header | Value |
|---|
| Authorization | Bearer <access_token> |
| Content-Type | application/json |
Request Body
No request body is required for this endpoint.
Successful Response
A successful request returns a list of active customers along with customer profile, billing, onboarding, and configuration details.
Sample Response
{
"OperationType": null,
"Status": "Success",
"RequestCorrelationID": "7e5e5d40-21a2-4daa-a68e-c745b4cd7c74",
"ErrorMessage": null,
"ErrorDetail": null,
"Data": [
{
"Name": "Contoso Ltd.",
"CustomerID": "78CC4BB7-2A0D-49A0-9DD9-4199CE02C27A",
"TenantId": "2041a14e-0428-47dc-a3ea-eeb1af75333c",
"TenantName": "Contoso Ltd.",
"DomainName": "contosoltd.onmicrosoft.com",
"Tags": "[{\"TagKey\":\"Test\",\"TagValue\":\"sample\"}]",
"CurrencyCode": "USD",
"SignupDate": "2022-12-08T09:01:54.38",
"OnboardStatus": "Onboarded",
"ResellerC3Id": null,
"ResellerName": null,
"PaymentMethod": "Manual",
"PlanName": "CT - CSP All Products",
"AutoPay": "Yes",
"DeletedOn": null,
"BillingReferenceId": null,
"MarketCode": "US",
"ERPCustomerId": "ERP-10001",
"VATNumber": "US123456789"
},
{
"Name": "Contoso Retail",
"CustomerID": "5A1E3C9D-8B2F-4E6A-9C7D-1F2E3A4B5C6D",
"TenantId": "9c3f7e21-6b4a-4d8e-a1f2-3b5c7d9e0f12",
"TenantName": "Contoso Retail",
"DomainName": "contosoretail.onmicrosoft.com",
"Tags": null,
"CurrencyCode": "USD",
"SignupDate": "2026-09-29T09:33:48.743",
"OnboardStatus": "Onboarded",
"ResellerC3Id": "CECF862B-CD5E-4708-8943-A02B163AC2DE",
"ResellerName": "Contoso Reseller",
"PaymentMethod": "Manual",
"PlanName": "CT - CSP All Products",
"AutoPay": "No",
"DeletedOn": null,
"BillingReferenceId": null,
"MarketCode": "US",
"ERPCustomerId": null,
"VATNumber": null
}
]
}
Response Properties
| Property | Description |
|---|
| OperationType | Reserved for internal use. Can be ignored. |
| Status | Indicates the result of the request. Possible values: Success, Error. |
| RequestCorrelationID | Unique identifier generated by C3 for request tracking and troubleshooting. |
| ErrorMessage | Contains the error message if request processing fails. |
| ErrorDetail | Contains additional error information. |
| Data | Collection of active customer records. |
Customer Attributes
| Attribute | Description |
|---|
| Name | Name of the customer. |
| CustomerID | Unique identifier assigned to the customer within C3. |
| TenantId | Microsoft Tenant ID associated with the customer. |
| TenantName | Microsoft tenant name associated with the customer. |
| DomainName | Primary Microsoft domain associated with the tenant. |
| Tags | Tags configured for the customer in C3. |
| CurrencyCode | Billing currency associated with the customer. |
| SignupDate | Date and time when the customer was onboarded to C3. |
| OnboardStatus | Current onboarding status of the customer. Possible values include Onboarded and Deleted. |
| ResellerC3Id | Unique identifier of the reseller in C3. This value is populated for customers onboarded through a reseller. |
ResellerName
| Name of the reseller associated with the customer. Populated for indirect (reseller) customers when includeResellerContext=true is passed. Returns null for direct customers.
|
| PaymentMethod | Customer payment method. Examples include Manual, Credit Card, and ACH. |
| PlanName | Name of the plan assigned to the customer. |
| AutoPay | Indicates whether AutoPay is enabled for the customer. Possible values: Yes or No. |
| DeletedOn | Date and time when the customer was soft deleted. Returns null for active customers. |
| BillingReferenceId | Custom billing reference configured for the customer. |
| MarketCode | Market or country/region associated with the customer. |
| ERPCustomerId | Unique customer identifier assigned within the ERP system. |
| VATNumber | VAT registration number associated with the customer. |
Error Response
The API validates the request and authorization context before processing the request. If the request cannot be processed, an appropriate error response is returned.
Validation Error Properties
| Property | Description |
|---|
| OperationType | Reserved for internal use. Can be ignored. |
| Status | Indicates the outcome of the request. Possible values: Success, Error. |
| RequestCorrelationID | Unique identifier generated by C3 for request tracking and troubleshooting. |
| ErrorMessage | High-level error message describing the failure. |
| ErrorDetail | Additional information about the error. |
| Data | Contains additional validation or processing details. |