Partner organisations only. A Payroll organisation calling this
endpoint receives 405 Method Not Allowed. An employer-scoped access
token receives 403 Forbidden.
Converts a single_employer managed organisation into a
multi_employer one, so it can hold more than one employer. The
organisation’s users and its existing employer are unchanged. Only
type: multi_employer is accepted; converting back to single_employer
is not supported.
Returns 404 Not Found when the organisation does not exist or is not
managed by your Partner organisation, and 409 Conflict when it is
already multi_employer.
Responses
-
Organisation converted to multi-employer.
-
Bad request, the request is malformed or
typeis notmulti_employer. -
Unauthorized
-
Forbidden, the access token is scoped to an employer.
-
Organisation not found, or not managed by your Partner organisation.
-
Method not allowed
-
The organisation is already
multi_employer. Nothing was changed. Usecode, noterror, to detect this case;erroris a human-readable message and its wording may change. -
Internal server error. Nothing was changed, so you can retry.
curl \
--request PATCH 'https://payroll-api.getpenfold.dev/v4/organisations/{organisation_id}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"type": "multi_employer"
}'
{
"type": "multi_employer"
}
{
"id": "cm1abcd2e0000xyz123456789",
"display_name": "Acme Payroll Services",
"type": "single_employer",
"created_at": "2026-10-20T12:00:00.000Z"
}
{
"error": "Bad request: invalid data provided.",
"validation_errors": [
{
"field": "email",
"message": "Email address is invalid."
}
]
}
{
"error": "Bad request: invalid data provided."
}
{
"error": "Bad request: invalid data provided."
}
{
"error": "Bad request: invalid data provided."
}
{
"error": "Bad request: invalid data provided."
}
{
"code": "OrganisationAlreadyMultiEmployer",
"error": "organisation is already multi-employer"
}
{
"error": "Bad request: invalid data provided."
}