---
title: "Modifier un contrat"
description: "Modifie les termes du contrat en un seul avenant : salaire, poste, équipe, établissement, lieu de travail, classification, temps de travail, avantages, exonérations, prévoyance et mutuelle. `PATCH` est accepté sur la même route. Règles détaillées et exemples : guide [Avenants](/guides/avenants).\n\n- **Date d’effet** : `effectiveFrom`, le 1er de ce mois (`CURRENT_MONTH`) ou du suivant (`NEXT_MONTH`, par défaut). Pour un contrat pas encore commencé, c’est sa date de début ; pour un contrat commencé dans le mois, `CURRENT_MONTH` vaut sa date de début. Ou `effectiveDate`, un jour précis, si seuls le salaire, le poste et l’équipe changent.\n- **Idempotence** : un avenant existant à cette date est modifié, sinon un avenant est créé. Renvoyer la même requête ne crée pas de doublon.\n- **Termes omis** : conservés. Un terme changé se reporte sur les avenants déjà prévus, jusqu’au prochain qui le change ; la classification (`conventionalPosition`, `isCadre`, `conventionalWorkerStatus`) se reporte en bloc jusqu’au premier avenant prévu qui a la sienne.\n- **Paie close** : refusé si un mois est clôturé ou un bulletin validé pour le contrat à partir du mois d’effet, ou si une mutation tombe dans un mois clôturé de l’établissement de destination.\n- **Salaire** : CDI et CDD uniquement, un changement par mois, à la date du dernier avenant ou après, et au moins le minimum conventionnel (vérifié aussi quand seules la position ou la quotité changent). Après une augmentation en cours de mois, aucun autre avenant plus tard dans ce mois.\n- **Établissement** : `workPlace` omis est conservé, même lors d’une mutation. Si Puncto dépose la DPAE (`dpaeDoneByPuncto`), changer l’établissement du mois d’embauche est refusé une fois la DPAE déposée ou en cours de dépôt (changez-le à partir du mois suivant), et avant si le nouvel établissement n’a pas de code de service de santé au travail.\n- **Mutuelle et prévoyance** : si l’avenant change le statut cadre, les contrats en vigueur doivent couvrir le nouveau statut ; envoyez le nouveau contrat de prévoyance dans la même requête.\n\nLe manager se change avec `PUT /public/v1/collaborators/{collaboratorId}`. Les bulletins en brouillon sont recalculés à partir du mois d’effet."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.puncto.fr/llms.txt
> Use this file to discover all available pages before exploring further.

Path: API Puncto › Contrats

`PUT /public/v1/contracts/{contractId}`

Modifie les termes du contrat en un seul avenant : salaire, poste, équipe, établissement, lieu de travail, classification, temps de travail, avantages, exonérations, prévoyance et mutuelle. `PATCH` est accepté sur la même route. Règles détaillées et exemples : guide [Avenants](/guides/avenants).

- **Date d’effet** : `effectiveFrom`, le 1er de ce mois (`CURRENT_MONTH`) ou du suivant (`NEXT_MONTH`, par défaut). Pour un contrat pas encore commencé, c’est sa date de début ; pour un contrat commencé dans le mois, `CURRENT_MONTH` vaut sa date de début. Ou `effectiveDate`, un jour précis, si seuls le salaire, le poste et l’équipe changent.
- **Idempotence** : un avenant existant à cette date est modifié, sinon un avenant est créé. Renvoyer la même requête ne crée pas de doublon.
- **Termes omis** : conservés. Un terme changé se reporte sur les avenants déjà prévus, jusqu’au prochain qui le change ; la classification (`conventionalPosition`, `isCadre`, `conventionalWorkerStatus`) se reporte en bloc jusqu’au premier avenant prévu qui a la sienne.
- **Paie close** : refusé si un mois est clôturé ou un bulletin validé pour le contrat à partir du mois d’effet, ou si une mutation tombe dans un mois clôturé de l’établissement de destination.
- **Salaire** : CDI et CDD uniquement, un changement par mois, à la date du dernier avenant ou après, et au moins le minimum conventionnel (vérifié aussi quand seules la position ou la quotité changent). Après une augmentation en cours de mois, aucun autre avenant plus tard dans ce mois.
- **Établissement** : `workPlace` omis est conservé, même lors d’une mutation. Si Puncto dépose la DPAE (`dpaeDoneByPuncto`), changer l’établissement du mois d’embauche est refusé une fois la DPAE déposée ou en cours de dépôt (changez-le à partir du mois suivant), et avant si le nouvel établissement n’a pas de code de service de santé au travail.
- **Mutuelle et prévoyance** : si l’avenant change le statut cadre, les contrats en vigueur doivent couvrir le nouveau statut ; envoyez le nouveau contrat de prévoyance dans la même requête.

Le manager se change avec `PUT /public/v1/collaborators/{collaboratorId}`. Les bulletins en brouillon sont recalculés à partir du mois d’effet.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `contractId` (`updateContract.path.contractId`; string, required) — Identifiant Puncto du contrat. Pour partir de votre identifiant, retrouvez-le avec `GET /public/v1/contracts?collaboratorForeignErpId=…`.
  - example `"cont_01JB7Q6ZC8V3K9N2M4R5T7W8XY"`

## Request body

_Required._

- `effectiveFrom` (`updateContract.effectiveFrom`; string, optional) — Mois d’effet : le 1er de ce mois ou du mois suivant. Ne pas combiner avec `effectiveDate`.
  - one of `"CURRENT_MONTH"`, `"NEXT_MONTH"`; default `"NEXT_MONTH"`
- `effectiveDate` (`updateContract.effectiveDate`; string, optional) — Date d’effet choisie, seulement quand la requête ne change que le salaire, le poste et l’équipe. Ne pas combiner avec `effectiveFrom`.
  - format `date`; example `"2026-11-15"`
- `grossAnnualSalary` (`updateContract.grossAnnualSalary`; number, optional) — Salaire brut annuel en euros, temps partiel compris. CDI et CDD uniquement ; au moins le minimum conventionnel de la position et de la quotité.
  - min 1
- `companyRoleId` (`updateContract.companyRoleId`; string, optional) — Poste, par son identifiant Puncto. Ne pas combiner avec `companyRoleName`.
  - minLength 1; example `"crol_01JB7Q6ZC8V3K9N2M4R5T7W8XY"`
- `companyRoleName` (`updateContract.companyRoleName`; string, optional) — Poste, par son nom exact, créé s’il n’existe pas (une seule fois, même en requêtes simultanées). Ne pas combiner avec `companyRoleId`.
  - minLength 1; maxLength 255; example `"Lead Developer"`
- `companyTeamId` (`updateContract.companyTeamId`; string | null, optional) — Équipe, par son identifiant Puncto ; `null` retire l’équipe. Ne pas combiner avec `companyTeamName`.
  - minLength 1
- `companyTeamName` (`updateContract.companyTeamName`; string, optional) — Équipe, par son nom exact, créée si elle n’existe pas (une seule fois, même en requêtes simultanées). Ne pas combiner avec `companyTeamId`.
  - minLength 1; maxLength 255
- `establishmentId` (`updateContract.establishmentId`; string, optional) — Établissement de rattachement, par son identifiant Puncto. Ne pas combiner avec `establishmentSiret`.
  - minLength 1; example `"esta_01JB7Q6ZC8V3K9N2M4R5T7W8XY"`
- `establishmentSiret` (`updateContract.establishmentSiret`; string, optional) — Établissement de rattachement, par son SIRET (14 chiffres, espaces ignorés). Ne pas combiner avec `establishmentId`.
  - minLength 1; example `"55210055400021"`
- `workPlace` (`updateContract.workPlace`; object | null, optional) — Lieu de travail effectif, s’il diffère de l’adresse de l’établissement (télétravail, site client…). Déclaré en DSN, il détermine les jours fériés ; `null` revient à l’adresse de l’établissement. Mayotte n’est pas encore gérée.
  - example `{"address":"12 rue Victor Hugo","addressDetails":null,"postalCode":"69002","city":"Lyon","countryCode":"FR","inseeCode":"69382"}`
  - `address` (`updateContract.workPlace.address`; string, required) — Adresse.
    - minLength 1; maxLength 250
  - `addressDetails` (`updateContract.workPlace.addressDetails`; string | null, required) — Complément d’adresse.
    - maxLength 250
  - `postalCode` (`updateContract.workPlace.postalCode`; string, required) — Code postal.
    - minLength 1; maxLength 10
  - `city` (`updateContract.workPlace.city`; string, required) — Ville.
    - minLength 1; maxLength 100
  - `countryCode` (`updateContract.workPlace.countryCode`; string, required) — Code pays ISO 3166-1 alpha-2 (`FR`, `GP`, `MQ`, `GF`, `RE`…).
    - one of `"FR"`, `"GP"`, `"BL"`, `"MF"`, `"MQ"`, `"GF"`, `"RE"`, `"PM"`, `"YT"`, `"WF"`, `"PF"`, `"NC"`, `"MC"`, `"AF"`, `"AL"`, `"DZ"`, `"AD"`, `"AO"`, `"AG"`, `"AR"`, `"AM"`, `"AU"`, `"AT"`, `"AZ"`, `"BS"`, `"BH"`, `"BD"`, `"BB"`, `"BY"`, `"BE"`, `"BZ"`, `"BJ"`, `"BT"`, `"BO"`, `"BA"`, `"BW"`, `"BR"`, `"BN"`, `"BG"`, `"BF"`, `"BI"`, `"CV"`, `"KH"`, `"CM"`, `"CA"`, `"CF"`, `"TD"`, `"CL"`, `"CN"`, `"CO"`, `"KM"`, `"CD"`, `"CG"`, `"CR"`, `"CI"`, `"HR"`, `"CU"`, `"CY"`, `"CZ"`, `"DK"`, `"DJ"`, `"DM"`, `"DO"`, `"EC"`, `"EG"`, `"SV"`, `"GQ"`, `"ER"`, `"EE"`, `"SZ"`, `"ET"`, `"FJ"`, `"FI"`, `"GA"`, `"GM"`, `"GE"`, `"DE"`, `"GH"`, `"GR"`, `"GD"`, `"GT"`, `"GN"`, `"GW"`, `"GY"`, `"HT"`, `"HN"`, `"HU"`, `"IS"`, `"IN"`, `"ID"`, `"IR"`, `"IQ"`, `"IE"`, `"IL"`, `"IT"`, `"JM"`, `"JP"`, `"JO"`, `"KZ"`, `"KE"`, `"KI"`, `"KP"`, `"KR"`, `"KW"`, `"KG"`, `"LA"`, `"LV"`, `"LB"`, `"LS"`, `"LR"`, `"LY"`, `"LI"`, `"LT"`, `"LU"`, `"MG"`, `"MW"`, `"MY"`, `"MV"`, `"ML"`, `"MT"`, `"MH"`, `"MR"`, `"MU"`, `"MX"`, `"FM"`, `"MD"`, `"MN"`, `"ME"`, `"MA"`, `"MZ"`, `"MM"`, `"NA"`, `"NR"`, `"NP"`, `"NL"`, `"NZ"`, `"NI"`, `"NE"`, `"NG"`, `"NO"`, `"OM"`, `"PK"`, `"PW"`, `"PS"`, `"PA"`, `"PG"`, `"PY"`, `"PE"`, `"PH"`, `"PL"`, `"PT"`, `"QA"`, `"RO"`, `"RU"`, `"RW"`, `"KN"`, `"LC"`, `"VC"`, `"WS"`, `"SM"`, `"ST"`, `"SA"`, `"SN"`, `"RS"`, `"SC"`, `"SL"`, `"SG"`, `"SK"`, `"SI"`, `"SB"`, `"SO"`, `"ZA"`, `"SS"`, `"ES"`, `"LK"`, `"SD"`, `"SR"`, `"SE"`, `"CH"`, `"SY"`, `"TW"`, `"TJ"`, `"TZ"`, `"TH"`, `"TL"`, `"TG"`, `"TO"`, `"TT"`, `"TN"`, `"TR"`, `"TM"`, `"TV"`, `"UG"`, `"UA"`, `"AE"`, `"GB"`, `"US"`, `"UY"`, `"UZ"`, `"VU"`, `"VE"`, `"VN"`, `"YE"`, `"ZM"`, `"ZW"`
  - `inseeCode` (`updateContract.workPlace.inseeCode`; string | null, required) — Code INSEE de la commune (`2A`/`2B` pour la Corse, `97x` pour l’outre-mer). Requis pour une adresse française.
    - pattern `^(\d{5}|2[AB]\d{3})$`
- `isCadre` (`updateContract.isCadre`; boolean, optional) — Statut cadre. Omis avec une nouvelle `conventionalPosition`, il en découle (CADRE ou ETAM) ; envoyé, il doit lui correspondre.
- `conventionalWorkerStatus` (`updateContract.conventionalWorkerStatus`; string, optional) — Statut catégoriel déclaré en DSN. `03` et `04` sont réservés aux cadres, `05` à `07` aux non-cadres. Omis, il est conservé s’il correspond au statut cadre, sinon déduit : `04` cadre (`03` cadre dirigeant), `05` non-cadre (`07` stagiaire). - `01` : 01 - agriculteur salarié de son exploitation - `02` : 02 - artisan ou commerçant salarié de son entreprise - `03` : 03 - cadre dirigeant (votant au collège employeur des élections prud'homales) - `04` : 04 - autres cadres au sens de la convention collective (ou du statut pour les régimes spéciaux) - `05` : 05 - profession intermédiaire (technicien, contremaître, agent de maîtrise, clergé) - `06` : 06 - employé administratif d'entreprise, de commerce, agent de service - `07` : 07 - ouvriers qualifiés et non qualifiés y compris ouvriers agricoles - `08` : 08 - agent de la fonction publique d'Etat - `09` : 09 - agent de la fonction publique hospitalière - `10` : 10 - agent de la fonction publique territoriale
  - one of `"01"`, `"02"`, `"03"`, `"04"`, `"05"`, `"06"`, `"07"`, `"08"`, `"09"`, `"10"`
- `conventionalPosition` (`updateContract.conventionalPosition`; one of, optional) — Position de la classification Syntec. Fixe `isCadre` et `conventionalWorkerStatus` s’ils sont omis. Ne se retire pas : `null` équivaut à l’omettre.
  - one of: `Cadre`, `ETAM`
- `codePcsEse` (`updateContract.codePcsEse`; string, optional) — Code PCS-ESE de l’emploi, obligatoire en DSN. Ne se retire pas : `null` équivaut à l’omettre.
  - one of `"100x"`, `"210x"`, `"220x"`, `"231a"`, `"232a"`, `"233a"`, `"233b"`, `"233c"`, `"233d"`, `"311c"`, `"311d"`, `"311e"`, `"312a"`, `"331a"`, `"332a"`, `"332b"`, `"333a"`, `"333b"`, `"333c"`, `"333d"`, `"333e"`, `"333f"`, `"334a"`, `"335a"`, `"341a"`, `"341b"`, `"342b"`, `"342c"`, `"342d"`, `"342f"`, `"342g"`, `"342h"`, `"343a"`, `"344a"`, `"344b"`, `"344c"`, `"344d"`, `"351a"`, `"352a"`, `"352b"`, `"353a"`, `"353b"`, `"353c"`, `"354a"`, `"354b"`, `"354c"`, `"354e"`, `"354f"`, `"354g"`, `"371a"`, `"372a"`, `"372b"`, `"372c"`, `"372d"`, `"372e"`, `"372f"`, `"373a"`, `"373b"`, `"373c"`, `"373d"`, `"374a"`, `"374b"`, `"374c"`, `"374d"`, `"375a"`, `"375b"`, `"376a"`, `"376b"`, `"376c"`, `"376d"`, `"376e"`, `"376f"`, `"376g"`, `"377a"`, `"380a"`, `"381b"`, `"381c"`, `"382a"`, `"382b"`, `"382c"`, `"382d"`, `"383a"`, `"383b"`, `"383c"`, `"384a"`, `"384b"`, `"384c"`, `"385a"`, `"385b"`, `"385c"`, `"386b"`, `"386c"`, `"386d"`, `"386e"`, `"387a"`, `"387b"`, `"387c"`, `"387d"`, `"387e"`, `"387f"`, `"388a"`, `"388b"`, `"388c"`, `"388d"`, `"388e"`, `"389a"`, `"389b"`, `"389c"`, `"421a"`, `"421b"`, `"422a"`, `"422b"`, `"422c"`, `"422d"`, `"422e"`, `"423a"`, `"423b"`, `"424a"`, `"425a"`, `"431a"`, `"431b"`, `"431c"`, `"431d"`, `"431e"`, `"431f"`, `"432b"`, `"432d"`, `"433a"`, `"433b"`, `"433c"`, `"433d"`, `"434a"`, `"434b"`, `"434c"`, `"434d"`, `"434e"`, `"434f"`, `"434g"`, `"435a"`, `"435b"`, `"441a"`, `"441b"`, `"451a"`, `"451b"`, `"451c"`, `"451d"`, `"451e"`, `"451g"`, `"451h"`, `"452a"`, `"452b"`, `"461b"`, `"461c"`, `"461d"`, `"461e"`, `"461f"`, `"462a"`, `"462b"`, `"462c"`, `"462d"`, `"462e"`, `"463a"`, `"463b"`, `"463c"`, `"463d"`, `"463e"`, `"464a"`, `"464b"`, `"465a"`, `"465b"`, `"465c"`, `"466a"`, `"466b"`, `"466c"`, `"467a"`, `"467b"`, `"467c"`, `"467d"`, `"468a"`, `"468b"`, `"471a"`, `"471b"`, `"472a"`, `"472b"`, `"472c"`, `"472d"`, `"473a"`, `"473b"`, `"473c"`, `"474a"`, `"474b"`, `"474c"`, `"475a"`, `"475b"`, `"476a"`, `"476b"`, `"477a"`, `"477b"`, `"477c"`, `"477d"`, `"478a"`, `"478b"`, `"478c"`, `"478d"`, `"479a"`, `"479b"`, `"480a"`, `"480b"`, `"481a"`, `"481b"`, `"482a"`, `"483a"`, `"484a"`, `"484b"`, `"485a"`, `"485b"`, `"486b"`, `"486c"`, `"486d"`, `"486e"`, `"487a"`, `"487b"`, `"488a"`, `"488b"`, `"521a"`, `"521b"`, `"522a"`, `"523a"`, `"523b"`, `"523c"`, `"523d"`, `"524a"`, `"524b"`, `"524c"`, `"524d"`, `"525a"`, `"525b"`, `"525c"`, `"525d"`, `"526a"`, `"526b"`, `"526c"`, `"526d"`, `"526e"`, `"531a"`, `"531b"`, `"531c"`, `"532a"`, `"532b"`, `"532c"`, `"533a"`, `"533b"`, `"533c"`, `"534a"`, `"534b"`, `"541b"`, `"541c"`, `"541d"`, `"542a"`, `"542b"`, `"543b"`, `"543c"`, `"543e"`, `"543f"`, `"543g"`, `"543h"`, `"544a"`, `"545a"`, `"545b"`, `"545c"`, `"545d"`, `"546a"`, `"546b"`, `"546c"`, `"546d"`, `"546e"`, `"551a"`, `"552a"`, `"553b"`, `"553c"`, `"554a"`, `"554b"`, `"554c"`, `"554d"`, `"554e"`, `"554f"`, `"554g"`, `"554h"`, `"554j"`, `"555a"`, `"556a"`, `"561b"`, `"561c"`, `"561d"`, `"561e"`, `"561f"`, `"562a"`, `"562b"`, `"563a"`, `"563b"`, `"563c"`, `"564a"`, `"564b"`, `"621a"`, `"621b"`, `"621c"`, `"621d"`, `"621e"`, `"621f"`, `"621g"`, `"622a"`, `"622c"`, `"622d"`, `"622e"`, `"622f"`, `"622g"`, `"623a"`, `"623b"`, `"623d"`, `"623e"`, `"623f"`, `"623g"`, `"624b"`, `"624c"`, `"624d"`, `"624e"`, `"624f"`, `"624g"`, `"625a"`, `"625b"`, `"625c"`, `"625d"`, `"625f"`, `"625g"`, `"625h"`, `"626a"`, `"626b"`, `"626c"`, `"627a"`, `"627b"`, `"627c"`, `"627d"`, `"627e"`, `"627f"`, `"628a"`, `"628b"`, `"628c"`, `"628d"`, `"628e"`, `"628f"`, `"628g"`, `"631a"`, `"632a"`, `"632b"`, `"632c"`, `"632d"`, `"632e"`, `"632f"`, `"632g"`, `"632h"`, `"632j"`, `"632k"`, `"633a"`, `"633b"`, `"633c"`, `"633d"`, `"634a"`, `"634b"`, `"634c"`, `"634d"`, `"635a"`, `"636a"`, `"636b"`, `"636c"`, `"636d"`, `"637a"`, `"637b"`, `"637c"`, `"637d"`, `"641a"`, `"641b"`, `"642a"`, `"642b"`, `"643a"`, `"644a"`, `"651a"`, `"651b"`, `"652a"`, `"652b"`, `"653a"`, `"654b"`, `"654c"`, `"655a"`, `"656b"`, `"656c"`, `"671a"`, `"671c"`, `"671d"`, `"672a"`, `"673a"`, `"673b"`, `"673c"`, `"674a"`, `"674b"`, `"674c"`, `"674d"`, `"674e"`, `"675a"`, `"675b"`, `"675c"`, `"676a"`, `"676b"`, `"676c"`, `"676d"`, `"676e"`, `"681a"`, `"681b"`, `"682a"`, `"683a"`, `"684a"`, `"684b"`, `"685a"`, `"691a"`, `"691b"`, `"691c"`, `"691d"`, `"691e"`, `"691f"`, `"692a"`, `"9999"`
- `quotity` (`updateContract.quotity`; one of, optional) — Temps de travail. `type` détermine les autres champs, tous requis : `HEURE`, `FORFAIT_JOUR`, `FORFAIT_HEURE` (forfait hebdomadaire, modalité 2 Syntec) ou `NON_CONCERNE` (mandataires).
  - one of: `Heures`, `Forfait jours`, `Forfait heures`, `Non concerné`
- `weekDaysWorked` (`updateContract.weekDaysWorked`; integer, optional) — Jours travaillés, en somme de bits : lundi 1, mardi 2, mercredi 4, jeudi 8, vendredi 16, samedi 32, dimanche 64 (31 du lundi au vendredi). Seul, il déplace les jours du planning type en gardant ses horaires ; avec `workSchedule`, il doit en décrire les jours.
  - min 0; max 127; example `31`
- `workSchedule` (`updateContract.workSchedule`; object, optional) — Planning type de la semaine ; un jour absent n’est pas travaillé. Avec une quotité `HEURE`, le total des horaires doit lui correspondre.
  - `version` (`updateContract.workSchedule.version`; integer, required)
  - `days` (`updateContract.workSchedule.days`; object, required)
    - `MONDAY` (`updateContract.workSchedule.days.MONDAY`; object, optional)
      - `morning` (`updateContract.workSchedule.days.MONDAY.morning`; object | null, required)
        - `start` (`updateContract.workSchedule.days.MONDAY.morning.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.MONDAY.morning.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
      - `afternoon` (`updateContract.workSchedule.days.MONDAY.afternoon`; object | null, required)
        - `start` (`updateContract.workSchedule.days.MONDAY.afternoon.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.MONDAY.afternoon.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
    - `TUESDAY` (`updateContract.workSchedule.days.TUESDAY`; object, optional)
      - `morning` (`updateContract.workSchedule.days.TUESDAY.morning`; object | null, required)
        - `start` (`updateContract.workSchedule.days.TUESDAY.morning.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.TUESDAY.morning.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
      - `afternoon` (`updateContract.workSchedule.days.TUESDAY.afternoon`; object | null, required)
        - `start` (`updateContract.workSchedule.days.TUESDAY.afternoon.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.TUESDAY.afternoon.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
    - `WEDNESDAY` (`updateContract.workSchedule.days.WEDNESDAY`; object, optional)
      - `morning` (`updateContract.workSchedule.days.WEDNESDAY.morning`; object | null, required)
        - `start` (`updateContract.workSchedule.days.WEDNESDAY.morning.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.WEDNESDAY.morning.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
      - `afternoon` (`updateContract.workSchedule.days.WEDNESDAY.afternoon`; object | null, required)
        - `start` (`updateContract.workSchedule.days.WEDNESDAY.afternoon.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.WEDNESDAY.afternoon.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
    - `THURSDAY` (`updateContract.workSchedule.days.THURSDAY`; object, optional)
      - `morning` (`updateContract.workSchedule.days.THURSDAY.morning`; object | null, required)
        - `start` (`updateContract.workSchedule.days.THURSDAY.morning.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.THURSDAY.morning.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
      - `afternoon` (`updateContract.workSchedule.days.THURSDAY.afternoon`; object | null, required)
        - `start` (`updateContract.workSchedule.days.THURSDAY.afternoon.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.THURSDAY.afternoon.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
    - `FRIDAY` (`updateContract.workSchedule.days.FRIDAY`; object, optional)
      - `morning` (`updateContract.workSchedule.days.FRIDAY.morning`; object | null, required)
        - `start` (`updateContract.workSchedule.days.FRIDAY.morning.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.FRIDAY.morning.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
      - `afternoon` (`updateContract.workSchedule.days.FRIDAY.afternoon`; object | null, required)
        - `start` (`updateContract.workSchedule.days.FRIDAY.afternoon.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.FRIDAY.afternoon.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
    - `SATURDAY` (`updateContract.workSchedule.days.SATURDAY`; object, optional)
      - `morning` (`updateContract.workSchedule.days.SATURDAY.morning`; object | null, required)
        - `start` (`updateContract.workSchedule.days.SATURDAY.morning.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.SATURDAY.morning.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
      - `afternoon` (`updateContract.workSchedule.days.SATURDAY.afternoon`; object | null, required)
        - `start` (`updateContract.workSchedule.days.SATURDAY.afternoon.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.SATURDAY.afternoon.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
    - `SUNDAY` (`updateContract.workSchedule.days.SUNDAY`; object, optional)
      - `morning` (`updateContract.workSchedule.days.SUNDAY.morning`; object | null, required)
        - `start` (`updateContract.workSchedule.days.SUNDAY.morning.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.SUNDAY.morning.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
      - `afternoon` (`updateContract.workSchedule.days.SUNDAY.afternoon`; object | null, required)
        - `start` (`updateContract.workSchedule.days.SUNDAY.afternoon.start`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"09:00"`
        - `end` (`updateContract.workSchedule.days.SUNDAY.afternoon.end`; string, required)
          - pattern `^([01]\d|2[0-3]):[0-5]\d$`; example `"12:30"`
- `mealVoucherStatus` (`updateContract.mealVoucherStatus`; string, optional) — Titres-restaurant. - `DEFAULT` : Suit le paramétrage entreprise - `DISABLED` : Désactivé
  - one of `"DEFAULT"`, `"DISABLED"`
- `remoteWorkAllowanceStatus` (`updateContract.remoteWorkAllowanceStatus`; string, optional) — Indemnité de télétravail. - `DEFAULT` : Suit le paramétrage entreprise - `DISABLED` : Désactivé
  - one of `"DEFAULT"`, `"DISABLED"`
- `remoteWorkWeeklyDays` (`updateContract.remoteWorkWeeklyDays`; integer | null, optional) — Jours de télétravail par semaine, si l’établissement verse une indemnité forfaitaire par jour hebdomadaire.
  - min 0; max 7
- `mealAllowanceType` (`updateContract.mealAllowanceType`; string | null, optional) — Prime de panier. - `ON_SITE` : Repas sur le lieu de travail - `OFF_SITE` : Repas hors des locaux - `TRAVEL_RESTAURANT` : Repas au restaurant en déplacement
  - one of `"ON_SITE"`, `"OFF_SITE"`, `"TRAVEL_RESTAURANT"`, `null`
- `applyJeiExoneration` (`updateContract.applyJeiExoneration`; boolean, optional) — Exonération Jeune entreprise innovante.
- `applyAcreExoneration` (`updateContract.applyAcreExoneration`; boolean, optional) — Exonération ACRE.
- `prevoyanceOcContractId` (`updateContract.prevoyanceOcContractId`; string | null, optional) — Contrat de prévoyance auquel affilier le salarié ; `null` met fin à l’affiliation. Doit être à cotisation par tranches, en vigueur à la date d’effet et couvrir la population du salarié (cadre ou non).
  - minLength 1; example `"ocon_01JB7Q6ZC8V3K9N2M4R5T7W8XY"`
- `hasMutuelleDispense` (`updateContract.hasMutuelleDispense`; boolean, optional) — Dispense de mutuelle : l’affiliation prend fin à la date d’effet. `true` exclut `mutuelleOcContractId` et `mutuelleForfaitChoice`.
- `mutuelleOcContractId` (`updateContract.mutuelleOcContractId`; string | null, optional) — Contrat de mutuelle auquel affilier le salarié ; `null` met fin à l’affiliation. Doit être à cotisation forfaitaire, en vigueur à la date d’effet et couvrir la population du salarié. Sans `mutuelleForfaitChoice`, la formule actuelle est conservée et doit exister dans ce contrat.
  - minLength 1
- `mutuelleForfaitChoice` (`updateContract.mutuelleForfaitChoice`; string | null, optional) — Formule de mutuelle du contrat en vigueur à la date d’effet (`UNIQUE`, `OPTION_<code>`, `CONDITION_<code>` ou, quand plusieurs forfaits partagent une option, `TIER_<code>__<libellé>`). Seule, elle change la formule sans changer de contrat.
  - minLength 1
- `publicTransportEmployerRate` (`updateContract.publicTransportEmployerRate`; integer | null, optional) — Taux de prise en charge des transports en commun propre au contrat, en %. Vaut pour les prochaines saisies de frais, sans avenant ; `null` le retire.
  - min 0; max 100
- `corporateOfficerSalaryMaintenance` (`updateContract.corporateOfficerSalaryMaintenance`; boolean, optional) — Mandat social uniquement : rémunération maintenue pendant les arrêts. Sans avenant.

## Example request

```json
{
  "effectiveFrom": "NEXT_MONTH",
  "companyRoleName": "Lead Developer",
  "conventionalPosition": {
    "type": "CADRE",
    "position": "3.1"
  },
  "grossAnnualSalary": 58000
}
```

## Code samples

### cURL

```bash
curl --request PUT \
  --url https://api.puncto.fr/public/v1/contracts/cont_01JB7Q6ZC8V3K9N2M4R5T7W8XY \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "effectiveFrom": "NEXT_MONTH",
  "companyRoleName": "Lead Developer",
  "conventionalPosition": {
    "type": "CADRE",
    "position": "3.1"
  },
  "grossAnnualSalary": 58000
}
'
```

### TypeScript

```typescript
const url = 'https://api.puncto.fr/public/v1/contracts/cont_01JB7Q6ZC8V3K9N2M4R5T7W8XY';
const options = {
  method: 'PUT',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({
    effectiveFrom: 'NEXT_MONTH',
    companyRoleName: 'Lead Developer',
    conventionalPosition: {type: 'CADRE', position: '3.1'},
    grossAnnualSalary: 58000
  })
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.puncto.fr/public/v1/contracts/cont_01JB7Q6ZC8V3K9N2M4R5T7W8XY"

payload = {
    "effectiveFrom": "NEXT_MONTH",
    "companyRoleName": "Lead Developer",
    "conventionalPosition": {
        "type": "CADRE",
        "position": "3.1"
    },
    "grossAnnualSalary": 58000
}
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.put(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Contrat, ses valeurs en vigueur résolues à la date d’effet

#### Example

```json
{
  "contractId": "cont_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
  "collaboratorId": "coll_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
  "collaboratorForeignErpId": "string",
  "dsnContractNumber": "string",
  "workerType": "EMPLOYEE_CDI",
  "activationStatus": "C_INVITATION_SENT",
  "startDate": "2019-08-24",
  "endDate": "2019-08-24",
  "cddMotifRecours": "01",
  "dpaeDoneByPuncto": true,
  "hasMutuelleDispense": true,
  "corporateOfficerSalaryMaintenance": true,
  "publicTransportEmployerRate": 0,
  "internshipStudies": "string",
  "internshipSchool": "string",
  "internshipPaidLeaveDays": 0,
  "apprenticeshipFormationLevel": "03",
  "apprenticeshipFormationYearsPeriods": {
    "FIRST_YEAR": {
      "startDate": "2019-08-24",
      "endDate": "2019-08-24"
    },
    "SECOND_YEAR": {
      "startDate": "2019-08-24",
      "endDate": "2019-08-24"
    },
    "THIRD_YEAR": {
      "startDate": "2019-08-24",
      "endDate": "2019-08-24"
    }
  },
  "referenceDate": "2019-08-24",
  "establishmentId": "esta_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
  "currentAmendment": {
    "remunerationBasis": "ANNUAL",
    "grossAnnualSalary": 0,
    "hourlyRate": 0,
    "smoothedMonthlyAmount": 0,
    "smoothingPlannedHours": 0,
    "remunerationPercentage": 0,
    "remunerationReference": "SMIC",
    "id": "came_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
    "companyRoleId": "crol_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
    "companyTeamId": "ctea_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
    "establishmentId": "esta_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
    "startDate": "2019-08-24",
    "renewsCddTerm": true,
    "postponesCddTerm": true,
    "previousCddEndDate": "2019-08-24",
    "isCadre": true,
    "mealVoucherStatus": "DEFAULT",
    "remoteWorkAllowanceStatus": "DEFAULT",
    "remoteWorkWeeklyDays": 0,
    "mealAllowanceType": "ON_SITE",
    "quotity": {
      "type": "HEURE",
      "monthlyWorkingHours": 0,
      "workingPercentage": 0,
      "paidContractualOvertimeHours": 0,
      "rttContractualOvertimeHours": 0,
      "rcrContractualOvertimeHours": 0,
      "isCeilingProrated": true
    },
    "workerOutsideFranceStatus": "01",
    "workPlace": {
      "address": "string",
      "addressDetails": "string",
      "postalCode": "string",
      "city": "string",
      "countryCode": "FR",
      "inseeCode": "string"
    },
    "workTerritory": "METROPOLE",
    "conventionalWorkerStatus": "01",
    "conventionalPosition": {
      "type": "CADRE",
      "position": "1.1"
    },
    "weekDaysWorked": 0,
    "workSchedule": {
      "version": 1,
      "days": {
        "MONDAY": {
          "morning": {
            "start": "string",
            "end": "string"
          },
          "afternoon": {
            "start": "string",
            "end": "string"
          }
        },
        "TUESDAY": {
          "morning": {
            "start": "string",
            "end": "string"
          },
          "afternoon": {
            "start": "string",
            "end": "string"
          }
        },
        "WEDNESDAY": {
          "morning": {
            "start": "string",
            "end": "string"
          },
          "afternoon": {
            "start": "string",
            "end": "string"
          }
        },
        "THURSDAY": {
          "morning": {
            "start": "string",
            "end": "string"
          },
          "afternoon": {
            "start": "string",
            "end": "string"
          }
        },
        "FRIDAY": {
          "morning": {
            "start": "string",
            "end": "string"
          },
          "afternoon": {
            "start": "string",
            "end": "string"
          }
        },
        "SATURDAY": {
          "morning": {
            "start": "string",
            "end": "string"
          },
          "afternoon": {
            "start": "string",
            "end": "string"
          }
        },
        "SUNDAY": {
          "morning": {
            "start": "string",
            "end": "string"
          },
          "afternoon": {
            "start": "string",
            "end": "string"
          }
        }
      }
    },
    "codePcsEse": "100x",
    "applyJeiExoneration": true,
    "applyAcreExoneration": true,
    "apprenticeshipFormationYear": "FIRST_YEAR"
  },
  "amendments": [
    {
      "remunerationBasis": "ANNUAL",
      "grossAnnualSalary": 0,
      "hourlyRate": 0,
      "smoothedMonthlyAmount": 0,
      "smoothingPlannedHours": 0,
      "remunerationPercentage": 0,
      "remunerationReference": "SMIC",
      "id": "came_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
      "companyRoleId": "crol_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
      "companyTeamId": "ctea_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
      "establishmentId": "esta_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
      "startDate": "2019-08-24",
      "renewsCddTerm": true,
      "postponesCddTerm": true,
      "previousCddEndDate": "2019-08-24",
      "isCadre": true,
      "mealVoucherStatus": "DEFAULT",
      "remoteWorkAllowanceStatus": "DEFAULT",
      "remoteWorkWeeklyDays": 0,
      "mealAllowanceType": "ON_SITE",
      "quotity": {
        "type": "HEURE",
        "monthlyWorkingHours": 0,
        "workingPercentage": 0,
        "paidContractualOvertimeHours": 0,
        "rttContractualOvertimeHours": 0,
        "rcrContractualOvertimeHours": 0,
        "isCeilingProrated": true
      },
      "workerOutsideFranceStatus": "01",
      "workPlace": {
        "address": "string",
        "addressDetails": "string",
        "postalCode": "string",
        "city": "string",
        "countryCode": "FR",
        "inseeCode": "string"
      },
      "workTerritory": "METROPOLE",
      "conventionalWorkerStatus": "01",
      "conventionalPosition": {
        "type": "CADRE",
        "position": "1.1"
      },
      "weekDaysWorked": 0,
      "workSchedule": {
        "version": 1,
        "days": {
          "MONDAY": {
            "morning": {
              "start": "string",
              "end": "string"
            },
            "afternoon": {
              "start": "string",
              "end": "string"
            }
          },
          "TUESDAY": {
            "morning": {
              "start": "string",
              "end": "string"
            },
            "afternoon": {
              "start": "string",
              "end": "string"
            }
          },
          "WEDNESDAY": {
            "morning": {
              "start": "string",
              "end": "string"
            },
            "afternoon": {
              "start": "string",
              "end": "string"
            }
          },
          "THURSDAY": {
            "morning": {
              "start": "string",
              "end": "string"
            },
            "afternoon": {
              "start": "string",
              "end": "string"
            }
          },
          "FRIDAY": {
            "morning": {
              "start": "string",
              "end": "string"
            },
            "afternoon": {
              "start": "string",
              "end": "string"
            }
          },
          "SATURDAY": {
            "morning": {
              "start": "string",
              "end": "string"
            },
            "afternoon": {
              "start": "string",
              "end": "string"
            }
          },
          "SUNDAY": {
            "morning": {
              "start": "string",
              "end": "string"
            },
            "afternoon": {
              "start": "string",
              "end": "string"
            }
          }
        }
      },
      "codePcsEse": "100x",
      "applyJeiExoneration": true,
      "applyAcreExoneration": true,
      "apprenticeshipFormationYear": "FIRST_YEAR"
    }
  ],
  "trialPeriods": [
    {
      "id": "ctpe_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
      "type": "initial",
      "initialEndDate": "2019-08-24",
      "recalculatedEndDate": "2019-08-24",
      "recalculationDate": "2019-08-24T14:15:22Z",
      "validationDate": "2019-08-24",
      "notificationSentAt": "2019-08-24T14:15:22Z",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ],
  "endOfContract": {
    "endOfContractId": "eoco_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
    "endDate": "2019-08-24",
    "lastWorkedDay": "2019-08-24",
    "finalSettlementPayrollDate": "2019-08-24",
    "terminationReason": "011",
    "terminationInitiator": "COMPANY",
    "notificationDate": "2019-08-24",
    "layoffProcedureStartDate": "2019-08-24",
    "terminationAgreementSignatureDate": "2019-08-24",
    "plannedEndDate": "2019-08-24",
    "noticePeriodType": "01",
    "noticeSituation": "EMPLOYER_WAIVER",
    "noticePeriodStartDate": "2019-08-24",
    "noticePeriodEndDate": "2019-08-24",
    "permanentContractOutcome": "NONE",
    "precarityBonusDue": true,
    "leaveCarriedOver": true,
    "dismissalIndemnityAmount": 0,
    "finalSettlementPaymentDate": "2019-08-24",
    "mutuellePortability": true,
    "prevoyancePortability": true,
    "finalSettlementPayslipId": "pays_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
    "finalSettlementReceiptFileId": "cfil_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
    "workCertificateFileId": "cfil_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  },
  "ocAffiliations": [
    {
      "ocAffiliationId": "ocaf_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
      "ocContractId": "ocon_01JB7Q6ZC8V3K9N2M4R5T7W8XY",
      "type": "MUTUELLE",
      "ocContractLabel": "string",
      "startDate": "2019-08-24",
      "endDate": "2019-08-24",
      "affiliationChoice": "string",
      "forfaitLabel": "string"
    }
  ],
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}
```

- `contractId` (`updateContract.response.200.contractId`; string, required) — Identifiant Puncto du contrat
- `collaboratorId` (`updateContract.response.200.collaboratorId`; string, required) — Identifiant Puncto du collaborateur
- `collaboratorForeignErpId` (`updateContract.response.200.collaboratorForeignErpId`; string | null, required) — Identifiant du collaborateur dans votre système, null s'il n'a pas été renseigné
- `dsnContractNumber` (`updateContract.response.200.dsnContractNumber`; string, required) — Numéro du contrat déclaré en DSN (S21.G00.40.009)
- `workerType` (`updateContract.response.200.workerType`; any of, required) — Type de contrat, null pour un contrat en cours de création
  - any of: `WorkerType`, `null`
- `activationStatus` (`updateContract.response.200.activationStatus`; string, required) — Statut du contrat dans Puncto
  - one of `"C_INVITATION_SENT"`, `"A_TO_BE_REALIZED"`, `"B_ACTION_NEEDED"`, `"E_ARCHIVED"`, `"D_ACTIVE"`, `"F_TO_CLOSE"`, `"G_UPCOMING"`
- `startDate` (`updateContract.response.200.startDate`; any of, required) — Date de début du contrat, null pour un contrat en cours de création
  - any of: `string`, `null`
- `endDate` (`updateContract.response.200.endDate`; any of, required) — Date de fin du contrat : terme prévu (CDD, stage, alternance, mandat), remplacé par la date de fin effective une fois le contrat clôturé. Null pour un contrat sans terme.
  - any of: `string`, `null`
- `cddMotifRecours` (`updateContract.response.200.cddMotifRecours`; any of, required) — CDD : motif de recours déclaré en DSN (S21.G00.40.021)
  - any of: `DsnMotifRecours`, `null`
- `dpaeDoneByPuncto` (`updateContract.response.200.dpaeDoneByPuncto`; boolean, required) — La DPAE du contrat est effectuée par Puncto
- `hasMutuelleDispense` (`updateContract.response.200.hasMutuelleDispense`; boolean, required) — Le salarié est dispensé d'adhésion à la mutuelle
- `corporateOfficerSalaryMaintenance` (`updateContract.response.200.corporateOfficerSalaryMaintenance`; boolean, required) — Mandataire social : rémunération maintenue pendant les arrêts, sous déduction des IJSS
- `publicTransportEmployerRate` (`updateContract.response.200.publicTransportEmployerRate`; number | null, required) — Taux de prise en charge employeur (%) des abonnements de transport en commun propre au contrat, null quand les taux de l'établissement s'appliquent
- `internshipStudies` (`updateContract.response.200.internshipStudies`; string | null, required) — Stage : formation suivie
- `internshipSchool` (`updateContract.response.200.internshipSchool`; string | null, required) — Stage : établissement d'enseignement
- `internshipPaidLeaveDays` (`updateContract.response.200.internshipPaidLeaveDays`; number | null, required) — Stage : forfait de jours de congés payés accordés, null s'il n'est pas accordé
- `apprenticeshipFormationLevel` (`updateContract.response.200.apprenticeshipFormationLevel`; any of, required) — Alternance : niveau du diplôme préparé
  - any of: `ApprenticeshipFormationLevel`, `null`
- `apprenticeshipFormationYearsPeriods` (`updateContract.response.200.apprenticeshipFormationYearsPeriods`; any of, required) — Alternance : périodes des années de formation
  - any of: `ApprenticeshipFormationYearsPeriods`, `null`
- `referenceDate` (`updateContract.response.200.referenceDate`; string, required) — Date à laquelle `currentAmendment` et `establishmentId` sont résolus : la date demandée, sinon la date du jour (la date de début pour un contrat qui n'a pas encore commencé)
  - format `date`
- `establishmentId` (`updateContract.response.200.establishmentId`; string, required) — Établissement de rattachement en vigueur à `referenceDate` (avant le premier avenant : celui du premier avenant)
- `currentAmendment` (`updateContract.response.200.currentAmendment`; any of, required) — Avenant en vigueur à `referenceDate`, null avant le premier avenant
  - any of: `ApiContractAmendment`, `null`
- `amendments` (`updateContract.response.200.amendments`; array<object>, required) — Tous les avenants du contrat, avenants à venir compris, du plus ancien au plus récent
  - `remunerationBasis` (`updateContract.response.200.amendments.remunerationBasis`; string, required)
    - one of `"ANNUAL"`, `"HOURLY"`, `"SMOOTHED_MONTHLY"`, `"PERCENTAGE"`
  - `grossAnnualSalary` (`updateContract.response.200.amendments.grossAnnualSalary`; number | null, required) — `ANNUAL` : salaire brut annuel.
  - `hourlyRate` (`updateContract.response.200.amendments.hourlyRate`; number | null, required) — `HOURLY` : taux horaire brut. `SMOOTHED_MONTHLY` : taux horaire contractuel, figé au début de la période de lissage.
  - `smoothedMonthlyAmount` (`updateContract.response.200.amendments.smoothedMonthlyAmount`; number | null, required) — `SMOOTHED_MONTHLY` : montant mensuel lissé.
  - `smoothingPlannedHours` (`updateContract.response.200.amendments.smoothingPlannedHours`; number | null, required) — `SMOOTHED_MONTHLY` : heures prévues de la période de lissage, figées à son début.
  - `remunerationPercentage` (`updateContract.response.200.amendments.remunerationPercentage`; number | null, required) — `PERCENTAGE` : pourcentage de la référence, ex. `53` pour 53 %.
  - `remunerationReference` (`updateContract.response.200.amendments.remunerationReference`; any of, required) — `PERCENTAGE` : référence du pourcentage.
    - any of: `RemunerationReference`, `null`
  - `id` (`updateContract.response.200.amendments.id`; string, required) — Identifiant Puncto
  - `companyRoleId` (`updateContract.response.200.amendments.companyRoleId`; any of, required)
    - any of: `string`, `null`
  - `companyTeamId` (`updateContract.response.200.amendments.companyTeamId`; any of, required)
    - any of: `string`, `null`
  - `establishmentId` (`updateContract.response.200.amendments.establishmentId`; string, required) — Identifiant Puncto
  - `startDate` (`updateContract.response.200.amendments.startDate`; string, required)
    - format `date`
  - `renewsCddTerm` (`updateContract.response.200.amendments.renewsCddTerm`; boolean, required)
  - `postponesCddTerm` (`updateContract.response.200.amendments.postponesCddTerm`; boolean, required)
  - `previousCddEndDate` (`updateContract.response.200.amendments.previousCddEndDate`; any of, required)
    - any of: `string`, `null`
  - `isCadre` (`updateContract.response.200.amendments.isCadre`; boolean, required)
  - `mealVoucherStatus` (`updateContract.response.200.amendments.mealVoucherStatus`; string, required)
    - one of `"DEFAULT"`, `"DISABLED"`
  - `remoteWorkAllowanceStatus` (`updateContract.response.200.amendments.remoteWorkAllowanceStatus`; string, required)
    - one of `"DEFAULT"`, `"DISABLED"`
  - `remoteWorkWeeklyDays` (`updateContract.response.200.amendments.remoteWorkWeeklyDays`; number | null, required) — Nombre de jours de télétravail par semaine prévus au contrat.
  - `mealAllowanceType` (`updateContract.response.200.amendments.mealAllowanceType`; any of, required) — Type de prime de panier versée au titre du contrat. `null` = pas de prime de panier.
    - any of: `MealAllowanceType`, `null`
  - `quotity` (`updateContract.response.200.amendments.quotity`; any of, required)
    - any of: `object`, `object`, `object`, `object`
  - `workerOutsideFranceStatus` (`updateContract.response.200.amendments.workerOutsideFranceStatus`; string, required)
    - one of `"01"`, `"02"`, `"03"`, `"99"`
  - `workPlace` (`updateContract.response.200.amendments.workPlace`; any of, required) — Lieu de travail effectif, quand il diffère de l'établissement de rattachement.
    - any of: `ContractWorkPlace`, `null`
  - `workTerritory` (`updateContract.response.200.amendments.workTerritory`; string, required) — Territoire du lieu de travail effectif, déduit de `workPlace` ou à défaut de l'adresse de l'établissement : il détermine les jours fériés applicables.
    - one of `"METROPOLE"`, `"ALSACE_MOSELLE"`, `"GUADELOUPE"`, `"MARTINIQUE"`, `"GUYANE"`, `"REUNION"`, `"MAYOTTE"`
  - `conventionalWorkerStatus` (`updateContract.response.200.amendments.conventionalWorkerStatus`; string, required)
    - one of `"01"`, `"02"`, `"03"`, `"04"`, `"05"`, `"06"`, `"07"`, `"08"`, `"09"`, `"10"`
  - `conventionalPosition` (`updateContract.response.200.amendments.conventionalPosition`; any of, required)
    - any of: `SyntecPosition`, `null`
  - `weekDaysWorked` (`updateContract.response.200.amendments.weekDaysWorked`; number, required) — Bitset des jours travaillés, dérivé de `workSchedule` (voir `week_days.ts`).
  - `workSchedule` (`updateContract.response.200.amendments.workSchedule`; object, required) — Planning type de l'avenant : jours seuls ou horaire (voir `work_schedule.ts`).
    - `version` (`updateContract.response.200.amendments.workSchedule.version`; number, required)
    - `days` (`updateContract.response.200.amendments.workSchedule.days`; object, required) — Un jour absent de la carte n'est pas travaillé.
      - `MONDAY` (`updateContract.response.200.amendments.workSchedule.days.MONDAY`; object, optional)
        - `morning` (`updateContract.response.200.amendments.workSchedule.days.MONDAY.morning`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
        - `afternoon` (`updateContract.response.200.amendments.workSchedule.days.MONDAY.afternoon`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
      - `TUESDAY` (`updateContract.response.200.amendments.workSchedule.days.TUESDAY`; object, optional)
        - `morning` (`updateContract.response.200.amendments.workSchedule.days.TUESDAY.morning`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
        - `afternoon` (`updateContract.response.200.amendments.workSchedule.days.TUESDAY.afternoon`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
      - `WEDNESDAY` (`updateContract.response.200.amendments.workSchedule.days.WEDNESDAY`; object, optional)
        - `morning` (`updateContract.response.200.amendments.workSchedule.days.WEDNESDAY.morning`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
        - `afternoon` (`updateContract.response.200.amendments.workSchedule.days.WEDNESDAY.afternoon`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
      - `THURSDAY` (`updateContract.response.200.amendments.workSchedule.days.THURSDAY`; object, optional)
        - `morning` (`updateContract.response.200.amendments.workSchedule.days.THURSDAY.morning`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
        - `afternoon` (`updateContract.response.200.amendments.workSchedule.days.THURSDAY.afternoon`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
      - `FRIDAY` (`updateContract.response.200.amendments.workSchedule.days.FRIDAY`; object, optional)
        - `morning` (`updateContract.response.200.amendments.workSchedule.days.FRIDAY.morning`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
        - `afternoon` (`updateContract.response.200.amendments.workSchedule.days.FRIDAY.afternoon`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
      - `SATURDAY` (`updateContract.response.200.amendments.workSchedule.days.SATURDAY`; object, optional)
        - `morning` (`updateContract.response.200.amendments.workSchedule.days.SATURDAY.morning`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
        - `afternoon` (`updateContract.response.200.amendments.workSchedule.days.SATURDAY.afternoon`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
      - `SUNDAY` (`updateContract.response.200.amendments.workSchedule.days.SUNDAY`; object, optional)
        - `morning` (`updateContract.response.200.amendments.workSchedule.days.SUNDAY.morning`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
        - `afternoon` (`updateContract.response.200.amendments.workSchedule.days.SUNDAY.afternoon`; any of, required)
          - any of: `WorkScheduleTimeRange`, `null`
  - `codePcsEse` (`updateContract.response.200.amendments.codePcsEse`; any of, required)
    - any of: `CodePcsEse`, `null`
  - `applyJeiExoneration` (`updateContract.response.200.amendments.applyJeiExoneration`; boolean, required)
  - `applyAcreExoneration` (`updateContract.response.200.amendments.applyAcreExoneration`; boolean, required) — ACRE du dirigeant assimilé salarié : exonération salariale et patronale 12 mois.
  - `apprenticeshipFormationYear` (`updateContract.response.200.amendments.apprenticeshipFormationYear`; any of, required) — Année de formation couverte par l'avenant (alternance uniquement).
    - any of: `ApprenticeshipFormationYear`, `null`
- `trialPeriods` (`updateContract.response.200.trialPeriods`; array<object>, required) — Périodes d'essai (initiale puis renouvellement), par date de fin croissante
  - `id` (`updateContract.response.200.trialPeriods.id`; string, required) — Identifiant Puncto de la période d'essai
  - `type` (`updateContract.response.200.trialPeriods.type`; string, required) — Période initiale ou renouvellement
    - one of `"initial"`, `"renewal"`
  - `initialEndDate` (`updateContract.response.200.trialPeriods.initialEndDate`; string, required) — Fin nominale : celle prévue au contrat, ou choisie au renouvellement
    - format `date`
  - `recalculatedEndDate` (`updateContract.response.200.trialPeriods.recalculatedEndDate`; any of, required) — Fin prolongée des absences validées, ou date de la validation anticipée ; null avant le premier recalcul
    - any of: `string`, `null`
  - `recalculationDate` (`updateContract.response.200.trialPeriods.recalculationDate`; any of, required) — Date du dernier recalcul de la fin
    - any of: `string`, `null`
  - `validationDate` (`updateContract.response.200.trialPeriods.validationDate`; any of, required) — Date de validation anticipée par l'employeur, null tant que la période n'est pas validée.
    - any of: `string`, `null`
  - `notificationSentAt` (`updateContract.response.200.trialPeriods.notificationSentAt`; any of, required) — Date d'envoi du rappel de fin de période d'essai à l'entreprise
    - any of: `string`, `null`
  - `createdAt` (`updateContract.response.200.trialPeriods.createdAt`; string, required) — Date d'enregistrement de la période dans Puncto
    - format `date-time`
- `endOfContract` (`updateContract.response.200.endOfContract`; any of, required) — Clôture du contrat, null tant que le contrat n'est pas clôturé
  - any of: `PublicApiEndOfContract`, `null`
- `ocAffiliations` (`updateContract.response.200.ocAffiliations`; array<object>, required) — Affiliations mutuelle et prévoyance du contrat, par date de début croissante
  - `ocAffiliationId` (`updateContract.response.200.ocAffiliations.ocAffiliationId`; string, required) — Identifiant Puncto de l'affiliation
  - `ocContractId` (`updateContract.response.200.ocAffiliations.ocContractId`; string, required) — Contrat de mutuelle ou de prévoyance de l'entreprise auquel le salarié est affilié
  - `type` (`updateContract.response.200.ocAffiliations.type`; string, required) — Mutuelle ou prévoyance
    - one of `"MUTUELLE"`, `"PREVOYANCE"`
  - `ocContractLabel` (`updateContract.response.200.ocAffiliations.ocContractLabel`; string, required) — Libellé du contrat de mutuelle ou de prévoyance
  - `startDate` (`updateContract.response.200.ocAffiliations.startDate`; string, required) — Date de début de l'affiliation
    - format `date`
  - `endDate` (`updateContract.response.200.ocAffiliations.endDate`; any of, required) — Date de fin de l'affiliation, null si elle n'a pas de fin prévue
    - any of: `string`, `null`
  - `affiliationChoice` (`updateContract.response.200.ocAffiliations.affiliationChoice`; string | null, required) — Formule de mutuelle choisie parmi celles du contrat : `UNIQUE`, `OPTION_<code>`, `CONDITION_<code>` ou, quand plusieurs forfaits partagent une option, `TIER_<code>__<libellé>`. Null sans formule (prévoyance notamment).
  - `forfaitLabel` (`updateContract.response.200.ocAffiliations.forfaitLabel`; string | null, required) — Libellé de la formule choisie (à défaut, son code), null sans formule
- `createdAt` (`updateContract.response.200.createdAt`; string, required) — Date de création du contrat dans Puncto
  - format `date-time`
- `updatedAt` (`updateContract.response.200.updatedAt`; string, required) — Date de dernière modification du contrat (hors avenants, périodes d'essai et clôture)
  - format `date-time`

### 400

Modification refusée : contrat clôturé, date d’effet, paie close, salaire, DPAE…

#### Example

```json
{
  "error": "effectiveDate ne date que le salaire, le poste et l’équipe : les autres termes changent au 1er de ce mois ou du mois suivant, avec effectiveFrom (mealVoucherStatus)"
}
```

- `error` (`updateContract.response.400.error`; string, required) — Message lisible, en français.
- `errorCode` (`updateContract.response.400.errorCode`; string, optional) — Code stable, sur certaines erreurs.

### 401

Clé d’API absente, invalide ou révoquée

#### Example

```json
{
  "error": "Les endpoints de l’API publique sont réservés aux comptes application."
}
```

- `error` (`updateContract.response.401.error`; string, required) — Message lisible, en français.
- `errorCode` (`updateContract.response.401.errorCode`; string, optional) — Code stable, sur certaines erreurs.

### 403

Opération hors de l’accès de la clé d’API

#### Example

```json
{
  "error": "Opération interdite"
}
```

- `error` (`updateContract.response.403.error`; string, required) — Message lisible, en français.
- `errorCode` (`updateContract.response.403.errorCode`; string, optional) — Code stable, sur certaines erreurs.

### 404

Contrat introuvable dans l’entreprise

#### Example

```json
{
  "error": "Contrat non trouvé"
}
```

- `error` (`updateContract.response.404.error`; string, required) — Message lisible, en français.
- `errorCode` (`updateContract.response.404.errorCode`; string, optional) — Code stable, sur certaines erreurs.

### 409

Une autre modification du contrat est en cours (ou, si l’avenant crée un poste ou une équipe, une autre création dans l’entreprise) : réessayez

#### Example

```json
{
  "error": "Une autre modification de ce contrat est en cours : réessayez dans quelques instants",
  "contractId": "cont_01JB7Q6ZC8V3K9N2M4R5T7W8XY"
}
```

- `error` (`updateContract.response.409.error`; string, required) — Message lisible, en français.
- `contractId` (`updateContract.response.409.contractId`; string, required) — Identifiant Puncto du contrat.

### 422

Paramètres invalides

#### Example

```json
{
  "errors": [
    {
      "message": "Le champ statut de l’absence doit être une valeur autorisée",
      "rule": "enum",
      "field": "status"
    }
  ]
}
```

- `errors` (`updateContract.response.422.errors`; array<object>, required)
  - `message` (`updateContract.response.422.errors.message`; string, required)
  - `rule` (`updateContract.response.422.errors.rule`; string, required) — Règle de validation en échec.
  - `field` (`updateContract.response.422.errors.field`; string, required) — Chemin du champ, par exemple `absences.0.type`.


Source: https://docs.puncto.fr/reference/contracts/update/index.md
