Customers

Create a customer

Creates a new customer.

post/customers

Request

Headers

versionstring nullable required

The API version with format yyyy-mm-dd. The current version is 2026-02-27.

Request body

namestring nullable

The customer's name.

emailAddressstring nullable

The customer's email address.

phoneNumberstring nullable

The customer's phone number.

vatNumberstring nullable

The customer's VAT number.

Example request

{
  "name": "Alex",
  "emailAddress": "alex@dojo.com"
}

Response

OK

idstring nullable

The unique identifier of the customer.

namestring nullable

The customer's name.

emailAddressstring nullable

The customer's email address.

phoneNumberstring nullable

The customer's phone number.

vatNumberstring nullable

The customer's VAT number.

createdAtstring date-time nullable

The creation date, in ISO 8601 UTC format.

updatedAtstring date-time nullable

The timestamp of the update date, in ISO 8601 UTC format.

documentVersioninteger

The version of the customer's data updated with every change.

Example response

{
  "id": "cs_qNkU6yob0vOMxUlb2oynUw",
  "name": "Alex",
  "emailAddress": "alex@dojo.com",
  "documentVersion": 0,
  "createdAt": "2023-08-24T14:15:22Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.