Customers
Add a new customer
post/customers
Request
- Base URLhttps://api.c1st.com/api
- URLhttps://api.c1st.com/api/customers
- AuthHTTP bearer
Request body
Example request
{
"content": {
"id": 1,
"storeid": 1,
"createddate": "2019-01-02 01:02:03",
"name": "John Doe",
"phone": "+4533608586",
"phone_e164": "+4533608586",
"country": "dk",
"email": "johndoe@example.com",
"barcode": "1234567890",
"address": "Andebyvej 1",
"city": "Odense",
"zipcode": "5000",
"addr_country": "dk",
"birthdate": "1993-12-31",
"ean": "12345678",
"vat": "12345678",
"customerno": "19181715",
"economic_customernumber": 12345678,
"balance": 123.45,
"note": "Pays on time.",
"tags": [
{
"color": "#4baf4f"
}
],
"permission_marketing": "2022-03-10 00:00:00",
"updated_at": "2022-03-10 00:00:00",
"deleted_at": "2022-03-10 00:00:00",
"store": {
"id": 1
}
}
}Response
Ok
Example response
{
"content": {
"id": 1,
"storeid": 1,
"createddate": "2019-01-02 01:02:03",
"name": "John Doe",
"phone": "+4533608586",
"phone_e164": "+4533608586",
"country": "dk",
"email": "johndoe@example.com",
"barcode": "1234567890",
"address": "Andebyvej 1",
"city": "Odense",
"zipcode": "5000",
"addr_country": "dk",
"birthdate": "1993-12-31",
"ean": "12345678",
"vat": "12345678",
"customerno": "19181715",
"economic_customernumber": 12345678,
"balance": 123.45,
"note": "Pays on time.",
"tags": [
{
"color": "#4baf4f"
}
],
"permission_marketing": "2022-03-10 00:00:00",
"updated_at": "2022-03-10 00:00:00",
"deleted_at": "2022-03-10 00:00:00",
"store": {
"id": 1
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.