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

# Changes to Create purchase information

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

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 5 of 50 revisions.

- **2024-11-22** `e27de7bcbf60` — 1 breaking, 2 info
- **2023-11-01** `2ebc766ec816` — 2 breaking
- **2023-10-26** `fb9c5ab4fd8d` — 2 breaking, 6 info
- **2023-10-24** `882bd80cdbee` — 2 breaking, 5 warning, 1 info
- **2023-10-24** `1f5d8ff19193` — 2 breaking, 6 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-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** `fb9c5ab4fd8d` — 2 breaking, 6 info
  - the request's body type changed from no type to `object`
  - removed the success response with the status `201`
  - 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 success response with the status `200`
- **2023-10-24** `882bd80cdbee` — 2 breaking, 5 warning, 1 info
  - the request's body type changed from `object` to no type
  - removed the success response with the status `200`
  - 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`
  - added the success response with the status `201`
- **2023-10-24** `1f5d8ff19193` — 2 breaking, 6 info
  - the request's body type changed from no type to `object`
  - removed the success response with the status `201`
  - 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 success response with the status `200`

---

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