---
title: "Changes to Update prospect"
method: PATCH
path: "/api/storage/profile-system/prospects/{prospectId}"
---

# Changes to Update prospect

`PATCH /api/storage/profile-system/prospects/{prospectId}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 50 revisions.

- **2023-11-01** `2ebc766ec816` — 2 breaking
- **2023-11-01** `3a9d473a8e78` — 4 breaking, 18 info
- **2023-10-31** `c68a1fb04e5a` — 1 breaking, 14 info

## Changes

- **2023-11-01** `2ebc766ec816` — 2 breaking
  - the `paymentData/transactions` request property type changed from `string` to `array`
  - the `document/paymentData/transactions` response's property type changed from `string` to `array` for status `200`
- **2023-11-01** `3a9d473a8e78` — 4 breaking, 18 info
  - the `paymentData/availableAccounts/items/` request property type changed from `string` to `object`
  - the `paymentData/transactions` request property type changed from `array` to `string`
  - the `document/paymentData/availableAccounts/items/` response's property type changed from `string` to `object` for status `200`
  - the `document/paymentData/transactions` response's property type changed from `array` to `string` for status `200`
  - added the new optional request property `paymentData/availableAccounts/items/accountId`
  - added the new optional request property `paymentData/availableAccounts/items/accountStatus`
  - added the new optional request property `paymentData/availableAccounts/items/availableAddresses`
  - added the new optional request property `paymentData/availableAccounts/items/bin`
  - added the new optional request property `paymentData/availableAccounts/items/cardNumber`
  - added the new optional request property `paymentData/availableAccounts/items/expirationDate`
  - added the new optional request property `paymentData/availableAccounts/items/isExpired`
  - added the new optional request property `paymentData/availableAccounts/items/paymentSystem`
  - added the new optional request property `paymentData/availableAccounts/items/paymentSystemName`
  - added the optional property `document/paymentData/availableAccounts/items/accountId` to the response with the `200` status
  - added the optional property `document/paymentData/availableAccounts/items/accountStatus` to the response with the `200` status
  - added the optional property `document/paymentData/availableAccounts/items/availableAddresses` to the response with the `200` status
  - added the optional property `document/paymentData/availableAccounts/items/bin` to the response with the `200` status
  - added the optional property `document/paymentData/availableAccounts/items/cardNumber` to the response with the `200` status
  - added the optional property `document/paymentData/availableAccounts/items/expirationDate` to the response with the `200` status
  - added the optional property `document/paymentData/availableAccounts/items/isExpired` to the response with the `200` status
  - added the optional property `document/paymentData/availableAccounts/items/paymentSystem` to the response with the `200` status
  - added the optional property `document/paymentData/availableAccounts/items/paymentSystemName` to the response with the `200` status
- **2023-10-31** `c68a1fb04e5a` — 1 breaking, 14 info
  - the request's body type changed from no type to `object`
  - added the new optional request property `availableAddresses`
  - added the new optional request property `cellPhone`
  - added the new optional request property `contacts`
  - added the new optional request property `customerCode`
  - added the new optional request property `document`
  - added the new optional request property `email`
  - added the new optional request property `firstName`
  - added the new optional request property `invoiceSubject`
  - added the new optional request property `isPJ`
  - added the new optional request property `lastName`
  - added the new optional request property `paymentData`
  - added the optional property `document` to the response with the `200` status
  - added the optional property `id` to the response with the `200` status
  - added the optional property `meta` to the response with the `200` status

---

[Operation](https://skmtc.dev/vtex/apis/profile-system-pii-data-architecture/docs/api/storage/profile-system/prospects/:prospectId/patch.md) · [API](https://skmtc.dev/vtex/apis/profile-system-pii-data-architecture.md) · [Page](https://skmtc.dev/vtex/apis/profile-system-pii-data-architecture/changes/api/storage/profile-system/prospects/:prospectId/patch)
