Create Customer

Headers

  • Authorization (string, Required) — Token for authentication

  • Content-Type: application/json

circle-info

Include the Authorization header with a valid token for all requests.

Request body (application/json)

  • email (string · email, Required) — The unique email address of the customer

  • first_name (string, Optional) — The first name of the customer (required for individual customers) Example: John

  • last_name (string, Optional) — The last name of the customer (required for individual customers) Example: Doe

  • company_name (string, Optional) — The name of the company (required for corporate customers) Example: Acme Corporation

  • type (string · enum, Required) — The type of customer Possible values: individual corporate

Responses

  • 201 — Customer created successfully (application/json) Response object properties: customer_id, email, company_name, type, first_name, last_name

Example request (HTTP)

Example response (201)

Last updated 5 months ago

Last updated