Create, update & destroy customers
The Customer object
{
"first_name": "Jhon",
"last_name": "Doe",
"date_of_birth": "2000-12-01",
"email": "jhon.doe@gmail.com",
"phone": "31612345678",
"tags": {
"items": [
{
"body": "Amsterdam"
}
]
}
}
argument | type | required | description |
---|---|---|---|
id | String | ||
first_name | String | false | Defines the first name of the customer. |
last_name | String | false | Defines the last name of the customer. |
date_of_birth | String | false | Defines the date of birth of the customer. Format: Y-m-d . |
email | String | false | Defines email address of the customer. |
phone | String | false | Defines phone number of the customer. |
reference_id | String | false | Defines the reference_id of the customer. |
tags | Object | false | Defines tags of the customer. |
Create
To create a customer.
POST: https://customers.prepr.io/
Scopes: customers
customers_publish
Update
To update an existing customer.
PUT: https://customers.prepr.io/{id}
Scopes: customers
customers_publish
Destroy
To delete a customer.
DELETE: https://customers.prepr.io/{id}
Scopes: customers
customers_delete
Last updated on