Create/Update customer
The following routes are available for create/update customer:
Documentation UpdateObject.php
POST/PUT /UpdateObject.php
Url with params
/UpdateObject.php?object=address&user=user&password=password
- query:
- user: string
- password: string
- object: string
- response:
Create/Update Customer
{
"success": true,
"status": 0,
"data":
[
{
"AddressNr": 5455
}
]
}
- body:
Create/Update Customer
{
"comparekeys": [
"eMail",
"AddressTypeNr"
],
"data": [
{
"LanguageNr": "1",
"FDB_Link2": "xxx",
"AddressNr": null,
"Status": "-1",
"Name1": "Jozef",
"Name2": "Palenik",
"Title": "",
"Address2": "1. m\u00e1ja",
"Address1": "1991-01-01",
"Address3": "",
"Address4": "841 07",
"Address5": "Bratislava",
"Address6": "",
"DeliveryAddress1": "Jozef Palenik\r\n1. m\u00e1ja\r\nBratislava\r\n841 07\r\nSK\r\n",
"ContactPerson": "",
"SalutationNr": "1",
"AddressTypeNr": "15",
"eMail": "jozef.palenik@adega.ch",
"Phone_d": null
}
]
}