patchEmployer
Creates or updates an employer.
- If
input.idmatches an existing employer, updates the employer. - If not, creates an employer.
- On success, the deprecated
employerKeyfield is empty. Clients must not use it.
Protected employers
You can update:
- Non-protected employers
- Protected employers created by your client
If you try to update a protected employer created by another client, the API returns FORBIDDEN.
Timeout
Set a 5,000 ms timeout for Indeed PLUS API calls.
Arguments
#input PatchEmployerInput! Required
Response
#Example
#Query
#mutation PatchEmployer($input: PatchEmployerInput!) { patchEmployer(input: $input) { responseCode attributeUpdated errors { message detail suggestion } }}Variables
#{"input": PatchEmployerInput}Response
#{ "data": { "patchEmployer": { "responseCode": "OK", "attributeUpdated": true, "errors": [AttributeUpdateError] } }}