Customers

Update a customer.

patch/v2/customers/{customer_id}

Path parameters

customer_idstring uuid required

LedgerUp customer UUID.

Example:018f5f0c-1111-7abc-8def-123456789abc

Customer UUID.

Request body

namestring

Customer name. Maximum 256 Unicode scalar values.

external_idstring nullable

Optional caller-supplied external identifier. Send null to clear.

stripe_customer_idstring nullable

Optional Stripe customer identifier. Send null to clear.

quickbooks_customer_idstring uuid nullable

Optional QuickBooks customer UUID. Send null to clear.

Example request

{
  "name": "Acme",
  "external_id": "crm_acme_001",
  "stripe_customer_id": "cus_NffrFeUfNV2Hib",
  "quickbooks_customer_id": "018f5f0c-1111-7abc-8def-123456789abc"
}

Response

Updated.

idstring uuid required

Customer UUID.

namestring required

Customer name.

external_idstring nullable required

Optional caller-supplied external identifier.

stripe_customer_idstring nullable required

Optional Stripe customer identifier.

quickbooks_customer_idstring uuid nullable required

Optional QuickBooks customer UUID.

created_atinteger required

Unix timestamp in seconds.

updated_atinteger required

Unix timestamp in seconds.

Example response

{
  "id": "018f5f0c-1111-7abc-8def-123456789abc",
  "name": "Acme",
  "external_id": "crm_acme_001",
  "stripe_customer_id": "cus_NffrFeUfNV2Hib",
  "quickbooks_customer_id": "018f5f0c-1111-7abc-8def-123456789abc",
  "created_at": 1767225600,
  "updated_at": 1767225600
}

Changes