Retrieve a customer by ID
ExpressRetrieveResponse express().retrieve(ExpressRetrieveParamsparams = ExpressRetrieveParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/express/{expressCustomerId}
Retrieves a single customer by its unique customer ID. Returns the complete customer object with name, status, and timestamps.
Parameters
Returns
Retrieve a customer by ID
package com.avara.example;
import com.avara.client.AvaraClient;
import com.avara.client.okhttp.AvaraOkHttpClient;
import com.avara.models.express.ExpressRetrieveParams;
import com.avara.models.express.ExpressRetrieveResponse;
public final class Main {
private Main() {}
public static void main(String[] args) {
AvaraClient client = AvaraOkHttpClient.fromEnv();
ExpressRetrieveResponse express = client.express().retrieve("cus_1234567890abcdef1234567890abcdef");
}
}{
"createdAt": "2024-01-15T09:00:00Z",
"expressCustomerId": "cus_1234567890abcdef1234567890abcdef",
"expressCustomerName": "City Medical Center - Radiology Department",
"isActive": true,
"updatedAt": "2024-03-15T14:20:00Z",
"userCount": 15,
"createdByApiKeyId": "550e8400-e29b-41d4-a716-446655440000",
"createdByUserId": "usr_1234567890abcdef1234567890abcdef",
"metadata": {
"department": "radiology",
"region": "northeast"
}
}Returns Examples
{
"createdAt": "2024-01-15T09:00:00Z",
"expressCustomerId": "cus_1234567890abcdef1234567890abcdef",
"expressCustomerName": "City Medical Center - Radiology Department",
"isActive": true,
"updatedAt": "2024-03-15T14:20:00Z",
"userCount": 15,
"createdByApiKeyId": "550e8400-e29b-41d4-a716-446655440000",
"createdByUserId": "usr_1234567890abcdef1234567890abcdef",
"metadata": {
"department": "radiology",
"region": "northeast"
}
}