Skip to Content

Update Customer

PUT
/api/v1/deals/customers/{customer_id}

Required scope: deals:write

Authorization

headerAuthorizationBearer <luso8_sk_live_<40 characters>>

A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.

Path Parameters

customer_id*Customer Id

Request Body

application/json
  1. body
contact?|null
company_name?string|null
domain?string|null
industry?string|null
employees?string|null
revenue?string|null
headquarters?string|null
country?string|null
website?string|null
phone?string|null
founded?string|null
status?string|null
subscription_plan?string|null
subscription_status?string|null
mrr?number||null
arr?number||null
lifetime_value?number||null
contract_start?|null
contract_end?|null
owner_id?string|null
owner_name?string|null
account_manager?string|null
stakeholders?array<unknown>|null
primary_contact_id?string|null
company_id?string|null
stripe_customer_id?string|null
health_score?number|null
nps_score?integer|null
documents?array<unknown>|null
tags?array<unknown>|null
notes?string|null
custom_fields?|null
deal_count?integer|null
total_deal_value?number||null
last_interaction?|null

Response Body

Successful Response

application/json
  1. response
company_name?string|null
domain?string|null
industry?string|null
employees?string|null
revenue?string|null
headquarters?string|null
country?string|null
website?string|null
phone?string|null
founded?string|null
status?string|null
subscription_plan?string|null
subscription_status?string|null
mrr?|null
arr?|null
lifetime_value?|null
contract_start?|null
contract_end?|null
owner_id?string|null
owner_name?string|null
account_manager?string|null
stakeholders?array<unknown>|null
primary_contact_id?string|null
company_id?string|null
stripe_customer_id?string|null
health_score?number|null
nps_score?integer|null
documents?array<unknown>|null
tags?array<unknown>|null
notes?string|null
custom_fields?|null
id*Id
organization_id*Organization Id
deal_count?integer|null
total_deal_value?|null
last_interaction?|null
created_at*Created At
Formatdate-time
updated_at?|null
contact_name?string|null
contact_email?string|null
Example Request
curl -X PUT 'https://api.luso8.rexplore.ai/api/v1/deals/customers/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "company_name": "string",  "domain": "string",  "industry": "string",  "employees": "string",  "revenue": "string",  "headquarters": "string",  "country": "string",  "website": "string",  "phone": "string",  "founded": "string",  "status": "string",  "subscription_plan": "string",  "subscription_status": "string",  "mrr": "string",  "arr": "string",  "lifetime_value": "string",  "contract_start": "2019-08-24T14:15:22Z",  "contract_end": "2019-08-24T14:15:22Z",  "owner_id": "string",  "owner_name": "string",  "account_manager": "string",  "stakeholders": [    null  ],  "primary_contact_id": "string",  "company_id": "string",  "stripe_customer_id": "string",  "health_score": 0,  "nps_score": 0,  "documents": [    null  ],  "tags": [    null  ],  "notes": "string",  "custom_fields": {},  "id": "string",  "organization_id": "string",  "deal_count": 0,  "total_deal_value": "string",  "last_interaction": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "contact_name": "string",  "contact_email": "string"}