Documentation

POST customer/add

Used for

Adding an customer. Returns the customer id on successfull save.

Authentication

Anonymous access.

Parameters

Parameter Description Required Example
customer Array of customer fields No See field overview
skip_checks If true, the check on mandatory fields is skipped No true

Response codes

  • 200 OK

Example

Adding a customer.

POST api/rest/customer/add

Request:

{
   "lastname":"Pietje Puk",
   "email":"info@pietje.nl"
}

Response:

 {
   "status":true,
   "customer_id":1040,
   "messages":[
      "Customer saved"
   ]
}