Update GP worker additional information
Changed onUse this endpoint to correct or change country-specific additional information already held on a Global Payroll worker contract, for example after the worker reports a new marital status or a tax identifier changes. Only the fields sent under data are modified; everything else is left untouched. Field keys must belong to the additional-information fields defined for the contract country (see GET /rest/forms/gp/worker-additional-fields/{country_code}). For fields the organization has configured as effective-dated, a date must be supplied in effective_dates (YYYY-MM-DD) whenever the value changes: today or a past date applies the change immediately, a future date schedules it and the current value stays in effect until then. Unchanged values and clears need no date. For fields with an expiration date configured, expiration_dates sets the date the value is removed on. Changes are recorded in the contract history and may update the worker onboarding checklist. By default returns 204. Pass ?include_completion_status=true to receive a 200 response with is_additional_data_done (true when all required fields for EDM onboarding are provided) and missing_keys (required fields still absent). Requires the people:write scope. For the initial submission on a new contract, use POST /gp/workers/contracts/{contract_id}/additional-information instead.
Token scopes: people:write
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Path parameters
The unique public identifier of the contract.
Query parameters
Pass true to receive a 200 response with is_additional_data_done and missing_keys instead of the default 204 No Content.
Request body
Per-field effective date (YYYY-MM-DD), keyed like data. Only allowed for effective-dated fields, and required whenever such a field is set to a new value (unchanged values and clears need no date). Past dates apply immediately as corrections, future dates are scheduled.
Per-field expiration date (YYYY-MM-DD), keyed like data. Only allowed for fields with an expiration date configured. The value is removed on that date; it must be after today and after the value's effective date. Send null to remove an expiration date. Sending only a new expiration date for an unchanged value changes the expiry and keeps the value.
Response
Returned only when ?include_completion_status=true is passed. Contains completion status.
Changes
- info
added the new optional request property
expiration_dates
- info