Theme switcher

Create customer

Create customer allows users to add a new customer to the system, providing essential details such as name, email, address, and phone number. By utilizing this functionality, users can easily store and manage customer information for seamless transactions and interactions within the application.

Header Parameters

Authorizationstring

The token or credentials required to authorize the request.

Content-Typestring

The type of content included in the request or response.

Body Parameters

given_namestring Required

The first name of the customer.

Min length
1
Max length
100
Default value
10
last_namestring Required

The last name of the customer.

email_addressstring Required

The email address of the customer.

addressobject

The full address of the customer.

Show child attributes

phone_numberstring

The phone number of the customer.

reference_idstring

The reference ID associated with the customer.

Enum values:
USER_ACCOUNTORDER_IDINVOICE_IDTRANSACTION_IDPRODUCT_IDDOCUMENT_IDCUSTOMER_ID
notestring

Any additional notes or comments related to the customer.

Enum values:
FOLLOW_UP_REQUIREDCUSTOMER_FEEDBACKESCALATED_ISSUEPAYMENT_PENDING

Response

200
Object

Response Attributes

customerobject

The customer parameter contains details and information related to the newly created customer profile.

Show child attributes

400
Object

Response Attributes

errorsarray

The errors parameter provides information on any errors encountered during the customer creation process.

Show child attributes

400
Object

Response Attributes

errorsarray

The errors parameter provides information on any errors encountered during the customer creation process.

Show child attributes

Was this section helpful?

What made this section unhelpful for you?

POST

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?