v1

latestOpenAPI 3.0.02026-08-06363576.8 KB
Customer

Create a customer

Create a customer in Áskell. Requires a secret key. To make it easier linking customers to existing systems, it is your responsibility to assign a reference to the customer so that you can look them up later. This can be an id, a UUID or whatever suits you. It's best to keep it simple.

post/customers/

Request body

first_namestring required
last_namestring required
emailstring required
phonestring
customer_referencestring required

Example request

{
  "first_name": "Jón",
  "last_name": "Jónsson",
  "email": "email@example.com",
  "phone": "+3545551234",
  "customer_reference": "1234"
}

Response

Successful operation