cURL
curl --request PUT \ --url https://api.example.com/admin/customers/{customer_id} \ --header 'Content-Type: application/json' \ --data ' { "company_name": "<string>", "contact_email": "<string>", "tier": "<string>", "status": "<string>", "contract_start": "<string>", "contract_end": "<string>", "metadata": {} } '
{ "customer_id": "550e8400-e29b-41d4-a716-446655440000", "company_name": "Acme Financial", "contact_email": "compliance@acmefinancial.com", "tier": "scale", "status": "active", "annual_commitment": 500000, "annual_validation_limit": 30000000, "updated_at": "2026-01-20T15:00:00Z" }
Update customer details
starter
growth
scale
enterprise
custom
active
suspended
curl -X PUT "https://{admin-api-url}/admin/customers/550e8400-e29b-41d4-a716-446655440000" \ -H "x-api-key: ADMIN_API_KEY" \ -H "Content-Type: application/json" \ -d '{"tier": "scale"}'
curl -X PUT "https://{admin-api-url}/admin/customers/550e8400-e29b-41d4-a716-446655440000" \ -H "x-api-key: ADMIN_API_KEY" \ -H "Content-Type: application/json" \ -d '{"status": "suspended"}'
curl -X PUT "https://{admin-api-url}/admin/customers/550e8400-e29b-41d4-a716-446655440000" \ -H "x-api-key: ADMIN_API_KEY" \ -H "Content-Type: application/json" \ -d '{"status": "active"}'