# Update SubscriptionDetails

## Update details of the user

<mark style="color:blue;">`PATCH`</mark> `{API_URL}/client/update-subscription/purchaseId:`

Auth required: YES

Please pass your API key as the username and API secret as the password as Basic Auth to access the endpoint

#### Query Parameters

| Name                  | Type |
| --------------------- | ---- |
| subscriptionStartDate |      |
| subscriptionEndDate   |      |
| price                 |      |
| userCountry           |      |
| currency              |      |

> You need to pass purchaseId of  the user.

<figure><img src="https://380225236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcoDfVWiJBvgTq8DbifIH%2Fuploads%2F5Ic1R0mWmVzwEQLQaxkq%2FScreenshot%202025-03-07%20at%204.57.20%20PM.png?alt=media&#x26;token=914432c9-4363-4f49-99eb-327ec8ce77c5" alt=""><figcaption></figcaption></figure>
