# Update source: https://developer.mastercard.com/iccp/documentation/api-reference/soap_api/purchaserequest/updatepurchaserequest/index.md > Update the details of a purchase request, including the controls on the VCN. Include the unchanged data and controls sent in the initial submitPurchaseRequest call along with the details to update. This call does not generate a new VCN, but will update the controls on the existing VCN if appropriate. ## Request Headers {#request-headers} | Key name | Value | Description for In Control | |-----------------|--------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Idempotency-Key | Any random UUID set in HTTP Request Header | 1. The header key Idempotency-Key is optional. 2. If the header key Idempotency-Key is added then it should be non-null and non-empty. 3. Max length of key is 80 chars. 4. It is recommended that the key is UUID and generated randomly. | ## Parameters {#parameters} Same as the *submitPurchaseRequest* call [parameters](https://developer.mastercard.com/iccp/documentation/api-reference/soap_api/purchaserequest/submitpurchaserequest/index.md#parameters) plus the ID of the purchase request. Note: `SupplierDetails` is not required for `UpdatePurchaseRequest` API calls for Mastercard® In Control for Mobile Payments (ICMP) enabled purchase requests made through the In Control API. `SupplierDetails` is still required for In Control-only purchase requests. ## Clearing Controls {#clearing-controls} If Clearing Controls is enabled for a company and Real Card, the Payment Controls and their corresponding limits applied on a Virtual Card at the time of generation are also applied during the clearing process of transaction. For payment controls supported by Clearing Controls, the same control values set on Virtual Card are enforced during authorization and clearing. Other unsupported payment controls present in the Purchase Request continue to get applied during authorization only. If Clearing Controls was applied on the Purchase Request and later disabled for the company or Real Card, then Clearing Controls continues to be applied for the Purchase Request after updates and vice versa. ### Sample request without ICMP enabled {#sample-request-without-icmp-enabled} ```xml 1454 2718 Arun 233191 Test2 1907 1 A 10 1000 M B Purchase Type Contracted Services 850 ``` ### Sample request with ICMP enabled {#sample-request-with-icmp-enabled} ```xml 28739738 262831 test 646 266497 2 "Automation test" 20165522 a A true 4 80 C M 826 Purchase Type 1 20679588 icmpmidsupplier@fakemail.com false NewIcmpMidFirstName NewIcmpMidLastName +91 88888888888 APP ``` Note: * End user email address can be updated only for ICMP purchase requests in DRAFT status. Email addresses cannot be updated for all other purchase request statuses. * When updating a purchase request in draft status using API, the ICMP email address format is validated. A valid email address consists of a local part (for example, `username`), an `@` symbol, and a domain part (for example, `example.com`). A valid email would be, for example: `john.doe@example.com`. * When updating an ICMP Purchase Request, the `userDetails` section must be included. If no changes are intended for the user details, each sub-field within the `userDetails` must exactly match the values provided in the original `SubmitPurchaseRequest`. * `supplierEmail` information must be provided for In Control Purchase Requests, if no default email is associated. ## Response {#response} Same as [submitPurchaseRequestResponse](https://developer.mastercard.com/iccp/documentation/api-reference/soap_api/purchaserequest/submitpurchaserequest/index.md#response). ### Sample response without ICMP enabled {#sample-response-without-icmp-enabled} ```xml 28986226 Approved 20165732 a A 2026-04-23 2026-04-30 GMT false false 5 200.0 GB-Eire false 200.0 200.0 B B Purchase Type 1 27623060 XXXXXXXXXXXX8886 2609 932 S false 20679566 false Y ``` ### Sample response with ICMP enabled {#sample-response-with-icmp-enabled} ```xml 28739738 Approved 20165522 a A 4 80.0 C 80.0 M 826 123456789123456 123456 true Purchase Type 1 27476418 c025d892-3496-4e58-9ce5-f942c384a06e 5995020125226088 2606 762 S false 20679588 NewIcmpMidFirstName NewIcmpMidLastName abcd@xyz.com +91 88888888888 APP ```