Get Active Customers Details

Prev Next

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

ParameterRequiredDescription
{{apiUrl}}YesC3 Portal API URL.

Query Parameters

ParameterRequiredDescription
includeResellerContextNoSet to true to include reseller (indirect) customers in the response. Applies to partners only.
Defaults to false, which returns only direct customers.

Request Headers

HeaderValue
AuthorizationBearer <access_token>
Content-Typeapplication/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

PropertyDescription
OperationTypeReserved for internal use. Can be ignored.
StatusIndicates the result of the request. Possible values: Success, Error.
RequestCorrelationIDUnique identifier generated by C3 for request tracking and troubleshooting.
ErrorMessageContains the error message if request processing fails.
ErrorDetailContains additional error information.
DataCollection of active customer records.

Customer Attributes

AttributeDescription
NameName of the customer.
CustomerIDUnique identifier assigned to the customer within C3.
TenantIdMicrosoft Tenant ID associated with the customer.
TenantNameMicrosoft tenant name associated with the customer.
DomainNamePrimary Microsoft domain associated with the tenant.
TagsTags configured for the customer in C3.
CurrencyCodeBilling currency associated with the customer.
SignupDateDate and time when the customer was onboarded to C3.
OnboardStatusCurrent onboarding status of the customer. Possible values include Onboarded and Deleted.
ResellerC3IdUnique 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.
PaymentMethodCustomer payment method. Examples include Manual, Credit Card, and ACH.
PlanNameName of the plan assigned to the customer.
AutoPayIndicates whether AutoPay is enabled for the customer. Possible values: Yes or No.
DeletedOnDate and time when the customer was soft deleted. Returns null for active customers.
BillingReferenceIdCustom billing reference configured for the customer.
MarketCodeMarket or country/region associated with the customer.
ERPCustomerIdUnique customer identifier assigned within the ERP system.
VATNumberVAT 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

PropertyDescription
OperationTypeReserved for internal use. Can be ignored.
StatusIndicates the outcome of the request. Possible values: Success, Error.
RequestCorrelationIDUnique identifier generated by C3 for request tracking and troubleshooting.
ErrorMessageHigh-level error message describing the failure.
ErrorDetailAdditional information about the error.
DataContains additional validation or processing details.