Customers
Update Customer
Dostęp
Członek organizacji z tym uprawnieniem:
customers:write
Klucz API z zakresami potrzebuje też tego uprawnienia w swoich zakresach.
PATCH
Updates an existing customer with partial data. Omitted fields stay unchanged; null or an empty string clears a nullable field.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
firstName?stringLength
1 <= lengthlastName?string|nullemail?|unknown|nullphone?string|nulladdress?string|nullcity?string|nullstate?string|nullzipCode?string|nullcountry?string|nullstatus?stringValue in
"DEFAULT""PREFERRED""WARNING""BLACKLISTED""VIP"locale?string|nullvatNumber?string|nullnotes?string|nullbirthday?|nullbirthplace?string|nullprofession?string|nullpersonalNumber?string|nullcustomerType?stringValue in
"STANDARD""WORKER_RENTAL_CARAVAN""WORKER_TOWING_CARAVAN"consentToCommunications?booleanconsentToMarketing?booleancustomFields?OK
application/json- response
curl -X PATCH 'https://api.tillor.eu/orgs//customers/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
null