---
title: "Update the sales person of a loan."
method: PATCH
path: "/posfinancing/rest/v2/loans/{id}/salesperson"
tags: ["Loans"]
---

# Update the sales person of a loan.

`PATCH /posfinancing/rest/v2/loans/{id}/salesperson`

## Request

- Base URL: `https://devint01-api.goodleap.com`
- URL: `https://devint01-api.goodleap.com/posfinancing/rest/v2/loans/{id}/salesperson`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/goodleap/apis/developer-api/docs/posfinancing/rest/v2/loans/:id/salesperson/patch.ts> (a function with typed inputs; its response is checked against the schema)

Reassign the sales person of a loan or TPO finance account.

## Path parameters

- `id` string, required

## Request body

- object
  - `userId` string, uuid, required: Directory user id of the new sales person

## Response `204`

Successful - no content

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server error

## Changes

- **2026-10-29** `30a51d431498`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/goodleap/apis/developer-api/changes/posfinancing/rest/v2/loans/:id/salesperson/patch.md)

---

[API](https://skmtc.dev/goodleap/apis/developer-api.md) - [All operations](https://skmtc.dev/goodleap/apis/developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/goodleap/apis/developer-api/revisions/30a51d431498?raw)
