---
title: "Changes to Update purchase information"
method: PATCH
path: "/api/storage/profile-system/profiles/{profileId}/purchase-info"
---

# Changes to Update purchase information

`PATCH /api/storage/profile-system/profiles/{profileId}/purchase-info`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 8 of 110 revisions.

- **2024-11-22** `e27de7bcbf60`: 1 breaking, 2 info
- **2023-11-06** `7688f96b7c96`: 2 breaking
- **2023-11-06** `eb33b478ad52`: 1 breaking, 8 info
- **2023-11-06** `1f33cb318f4e`: 1 breaking, 8 warning
- **2023-11-01** `2ebc766ec816`: 2 breaking
- **2023-10-26** `1f5d8ff19193`: 1 breaking, 8 info
- **2022-08-16** `0cb61a26c7dc`: 1 warning, 1 info
- **2022-04-28** `90c57a24cf2e`: 1 info

## Changes

- **2024-11-22** `e27de7bcbf60`: 1 breaking, 2 info
  - the `query` request parameter `alternativeKey` was restricted to a list of enum values
  - added the new enum value `document` to the `query` request parameter `alternativeKey`
  - added the new enum value `email` to the `query` request parameter `alternativeKey`
- **2023-11-06** `7688f96b7c96`: 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-06** `eb33b478ad52`: 1 breaking, 8 info
  - the request's body type changed from no type to `object`
  - added the new optional request property `clientPreferences`
  - added the new optional request property `isToSavePersonalData`
  - added the new optional request property `lastPurchasesAddressId`
  - added the new optional request property `lastUserPurchases`
  - 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
- **2023-11-06** `1f33cb318f4e`: 1 breaking, 8 warning
  - the request's body type changed from `object` to no type
  - removed the request property `clientPreferences`
  - removed the request property `isToSavePersonalData`
  - removed the request property `lastPurchasesAddressId`
  - removed the request property `lastUserPurchases`
  - removed the request property `paymentData`
  - removed the optional property `document` from the response with the `200` status
  - removed the optional property `id` from the response with the `200` status
  - removed the optional property `meta` from the response with the `200` status
- **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-10-26** `1f5d8ff19193`: 1 breaking, 8 info
  - the request's body type changed from no type to `object`
  - added the new optional request property `clientPreferences`
  - added the new optional request property `isToSavePersonalData`
  - added the new optional request property `lastPurchasesAddressId`
  - added the new optional request property `lastUserPurchases`
  - 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
- **2022-08-16** `0cb61a26c7dc`: 1 warning, 1 info
  - deleted the `query` request parameter `alternateKey`
  - added the new optional `query` request parameter `alternativeKey`
- **2022-04-28** `90c57a24cf2e`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/vtex/apis/profile-system-pii-data-architecture/docs/api/storage/profile-system/profiles/:profileId/purchase-info/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/profiles/:profileId/purchase-info/patch)
