Create Customer

POST /v0/customers

Headers

  • Authorization (string, Required) — Token for authentication

  • Content-Type: application/json

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)

HTTP
POST /v0/customers HTTP/1.1
Host: gateway.noxxo.com
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 118

{
  "email": "[email protected]",
  "first_name": "John",
  "last_name": "Doe",
  "company_name": "Acme Corporation",
  "type": "individual"
}

Example response (201)

Last updated 5 months ago

Last updated