Update a contact
Changed onRequest
- Base URL: https://api.abby.fr
- URL: https://api.abby.fr/contact/{id}
- Auth: HTTP bearer
Path parameters
Request body
Example request
{
"billingAddress": {
"address": "123 Main Street",
"complement": "Apt 4B",
"city": "New York",
"zipCode": "10001",
"state": "NY"
},
"deliveryAddress": {
"address": "123 Main Street",
"complement": "Apt 4B",
"city": "New York",
"zipCode": "10001",
"state": "NY"
},
"bankInformations": {
"iban": "DE89370400440532013000",
"bic": "DEUTDEFF",
"holder": "John Doe"
},
"preferences": {
"paymentMethods": [
"cheque",
"stripe"
]
}
}Response
The contact has been successfully updated.
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"emails": [
"john@example.com",
"johndoe@company.com"
],
"organization": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Acme Corp",
"archivedAt": 1617187200
},
"defaultContact": true,
"createdAt": 1617187200,
"archivedAt": 1617187200,
"hasBillings": true,
"phone": "+33123456789",
"firstname": "John",
"lastname": "Doe",
"billingAddress": {
"address": "123 Main Street",
"complement": "Apt 4B",
"city": "New York",
"zipCode": "10001",
"state": "NY"
},
"deliveryAddress": {
"address": "123 Main Street",
"complement": "Apt 4B",
"city": "New York",
"zipCode": "10001",
"state": "NY"
},
"jobTitle": "Software Engineer",
"bankInformations": {
"iban": "DE89370400440532013000",
"bic": "DEUTDEFF",
"holder": "John Doe"
},
"notes": "Prefers email communication",
"paymentMethods": [
"cash",
"credit_card"
]
}Changes
- breaking
request property
//was restricted to a list of enum values - breaking
the
response's property type changed from no type toarrayfor status - warning
added the new
XAFenum value to the////response property for the response status - warning
added the new
XOFenum value to the////response property for the response status - warning
added the new
XPFenum value to the////response property for the response status - info
api operation id
ContactController-updateContactremoved and replaced withContactController_updateContact - info
added the new
XAFenum value to the request property///// - info
added the new
XOFenum value to the request property///// - info
added the new
XPFenum value to the request property///// - info
added the new
cashenum value to the request property// - info
added the new
chequeenum value to the request property// - info
added the new
credit_cardenum value to the request property// - info
added the new
direct_debitenum value to the request property// - info
added the new
otherenum value to the request property// - info
added the new
paypalenum value to the request property// - info
added the new
stripeenum value to the request property// - info
added the new
transferenum value to the request property// - info
added the new
universal_employment_service_chequeenum value to the request property// - info
added to the
response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status
This list may be incomplete.
- breaking