---
title: "Update the ThirdPartyCustomerId."
method: PUT
path: "/Leads/{leadId}/thirdPartyCustomerId"
tags: ["Enrich an Application"]
---

# Update the ThirdPartyCustomerId.

`PUT /Leads/{leadId}/thirdPartyCustomerId`

## Request

- Base URL: `https://partners.staging-youlendapi.com/onboarding`
- URL: `https://partners.staging-youlendapi.com/onboarding/Leads/{leadId}/thirdPartyCustomerId`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://youlend-stag.eu.auth0.com/oauth/token`

This endpoint allows you to update the ThirdPartyCustomerId for a given lead.

## Path parameters

- `leadId` string, uuid, required

## Headers

- `api-version` string

## Request body

- ThirdPartyCustomerIdModel
  - `thirdPartyCustomerId` string, required: Gets or sets gets the ThirdPartyCustomerId.

## Response `204`

No Content

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/youlend/apis/onboarding.md) - [All operations](https://skmtc.dev/youlend/apis/onboarding/llms.txt) - [OpenAPI document](https://skmtc.dev/youlend/apis/onboarding/revisions/32aa9c8d752a?raw)
