Get a customer.

get/v2/customers/{customerId}

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/customers/{customerId}
  • Auth
    API key in header X-API-Key

Response

The customer.

idstring required

Customer id with the le_cus_ prefix.

namestring required

The name invoices are addressed to.

emailstring required

Where invoices and reminders are sent.

phonestring
status'active' | 'archived' required

archived marks a customer you no longer bill. Archived customers can still be invoiced and are listed unless you filter by status.

createdAtstring date-time required

Example response

{
  "id": "le_cus_2rj4l7hmrrrcv",
  "name": "Acme Robotics",
  "email": "ap@acme.example",
  "phone": "+14155550123"
}

Changes