Retrieve a single customer by ID
curl -X GET https://api.flexprice.io/v1/customers/cust_abc123xyz789 \ -H "Authorization: Bearer YOUR_API_KEY"
{ "id": "cust_abc123xyz789", "external_id": "user_12345", "name": "Acme Corporation", "email": "billing@acme.com", "address_line1": "123 Main Street", "address_line2": "", "address_city": "San Francisco", "address_state": "CA", "address_postal_code": "94105", "address_country": "US", "parent_customer_id": null, "metadata": { "plan_tier": "enterprise", "account_manager": "jane_doe" }, "environment_id": "env_prod_001", "tenant_id": "tenant_001", "status": "published", "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z", "created_by": "user_admin", "updated_by": "user_admin" }
cust_abc123xyz789
parent_customer
published
draft
archived
expand=parent_customer