Aller au contenu principal
public

Modifier un contact

PATCH
/v1/contacts/{id}
Authorizationstringheaderobligatoire

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

idstringobligatoire
if-matchstringheader

Version du contact, telle que l’en-tête ETag l’a rendue à la lecture. Quand elle est fournie, la modification n’est appliquée que si le contact n’a pas changé depuis : sinon la réponse est 412 et le contact reste intact.

Corps

application/json
addressLinestring | null
assujettiTvaenum<string>default:inconnu
Options disponibles: assujetti, non_assujetti, inconnu
birthCitystring | nulldefault:null
birthCountrystring | nulldefault:null
channelsobject[]default:[]
Maximum array length: 20
citystring | null
civilitystring | null
countrystring | null
dateOfBirthstring | nulldefault:null
Motif: ^\d{4}-\d{2}-\d{2}$
doNotRemindboolean
emailstring | null
firstNamestring | null
functionstring | null
groupSubtypeenum<string> | nulldefault:null
Options disponibles: indivision, succession, societe_de_fait
isAutoEntrepreneurbooleandefault:false
kindenum<string>
Options disponibles: physique, morale, groupement
lastNamestring | null
Required string length: 1 - 200
membersobject[]default:[]
mentionsstring | null
parentCompanyIdstring | null
Motif: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
phonestring | null
postalCodestring | null
sirenstring | null
siretstring | null
vatNumberstring | null
vatRegimeenum<string> | null
Options disponibles: standard, exonere, dom_tom
vatTerritoryenum<string> | null
Options disponibles: metropole_corse, dom_reduit, dom_guyane_mayotte, com_hors_champ
vatValidboolean | nulldefault:null
viesCheckedAtstring | nulldefault:null

Réponse

200application/json
addressLinestring | nullobligatoire
assujettiTvaenum<string>default:inconnu
Options disponibles: assujetti, non_assujetti, inconnu
birthCitystring | nulldefault:null
birthCountrystring | nulldefault:null
channelsobject[]default:[]
citystring | nullobligatoire
civilitystring | nullobligatoire
companyDataobject | nullobligatoire
countrystring | nullobligatoire
createdAtstringobligatoire
createdBystring | nullobligatoire
dateOfBirthstring | nulldefault:null
Motif: ^\d{4}-\d{2}-\d{2}$
deletedAtstring | nullobligatoire
doNotRemindbooleanobligatoire
emailstring | nullobligatoire
firstNamestring | nullobligatoire
functionstring | nullobligatoire
groupSubtypeenum<string> | nulldefault:null
Options disponibles: indivision, succession, societe_de_fait
idstringobligatoire
Motif: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
isAutoEntrepreneurbooleandefault:false
kindenum<string>obligatoire
Options disponibles: physique, morale, groupement
lastNamestring | nullobligatoire
Required string length: 1 - 200
linkedCompaniesobject[]obligatoire
membersobject[]default:[]
mentionsstring | nullobligatoire
pappersPendingChangesobject[] | nullobligatoire
pappersSyncedAtstring | nullobligatoire
parentCompanyIdstring | nullobligatoire
Motif: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
parentCompanyNamestring | nullobligatoire
phonestring | nullobligatoire
postalCodestring | nullobligatoire
referencestring | nullobligatoire
sirenstring | nullobligatoire
siretstring | nullobligatoire
tagsobject[]default:[]
tenantIdstringobligatoire
Motif: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
updatedAtstringobligatoire
vatNumberstring | nullobligatoire
vatRegimeenum<string> | nullobligatoire
Options disponibles: standard, exonere, dom_tom
vatTerritoryenum<string> | nullobligatoire
Options disponibles: metropole_corse, dom_reduit, dom_guyane_mayotte, com_hors_champ
vatValidboolean | nulldefault:null
viesCheckedAtstring | nulldefault:null