customers

Create customer

Changed on

Registers a new customer within the caller account. The document is deduplicated per account.

post/api/v1/customers

Request

Request body

documentstring nullable

CPF (11 digits) or CNPJ (14 characters). Optional.

type'PF' | 'PJ' nullable
birth_datestring

Date of birth.

metadataobject nullable
namestring required
emailstring nullable
phonestring nullable

Example request

{
  "birth_date": "1990-05-20"
}

Response

Customer created.

idstring required
documentstring nullable required
type'PF' | 'PJ' nullable required
namestring required
emailstring nullable required
phonestring nullable required
birth_datestring nullable required
metadataobject nullable required
created_atstring required
updated_atstring required

Changes

    • breaking

      added the new required request property

    • breaking

      the request property type changed from object to string

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      the request property type changed from string to object

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      the request property became nullable

    • info

      the request property became optional