createCustomer

Create a new customer

Details

Responses and Response Schema

201 (Customer Created)

Customer created successfully.

Field NameTypeDescription
id*string
url*string

Format: uri
The URI the agent can click on to see the customer.
customNonSearchableCustomerFieldOnestring
customNonSearchableCustomerFieldTwostring
customSearchableCustomerFieldOnestring
customSearchableCustomerFieldTwostring
400 (Invalid Field in Payload)

Invalid field in payload. Generic errors.

Field NameTypeDescription
fieldsobeject
error*stringThe name of the error or code.
message*stringMessage passable to the user.
fields object
Field NameType
name*string
errorMessage*string
401 (API Key is Invalid)

API key is invalid or has become de-authenticated.

422 (Field Validation Error)

A field validation error has occurred.

Field NameTypeDescription
fieldsarray[object]
error*stringName of error or code.
message*stringMessage passable to the user.
fields object
Field NameTypeDescription
name*string
errorMessage*stringMessage passable to the user.
500 (Unexpected Error)

Unexpected error.

Field NameTypeDescription
error*stringName of the error or code.
message*stringMessage passable to the user.
Language
URL