Update a customer
Changed onUpdate a customer. Only the fields you send change. Existing invoices keep the name, email and address they were issued with until you edit them.
patch/v2/customers/{customerId}
Request
- Base URLhttps://api.slash.com
- URLhttps://api.slash.com/v2/customers/{customerId}
- AuthAPI key in header X-API-Key
Request body
Response
The updated customer.
Example response
{
"id": "le_cus_2rj4l7hmrrrcv",
"name": "Acme Robotics",
"email": "ap@acme.example",
"phone": "+14155550123"
}Changes
- info
endpoint added
- info