Logoelepay
Customers

Update customer

Updates a customer.

POST
/customers/{customerId}
Customer ID
Default customer source ID
length ≤ 32
Name
length ≤ 255
Description of the customer
length ≤ 255
Email address
length ≤ 255
Phone number
length ≤ 255
Remarks
Metadata

Response Body

application/json

OK

TypeScript Definitions

Use the response body type in TypeScript.

response?CustomerDto

Customer object

curl -X POST "https://api.elepay.io/customers/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "object": "customer",
  "liveMode": true,
  "defaultSource": "string",
  "name": "string",
  "description": "string",
  "email": "string",
  "phone": "string",
  "remark": "string",
  "operator": "string",
  "status": "active",
  "metadata": {},
  "updateTime": 0
}