> For the complete documentation index, see [llms.txt](https://docs.conscent.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.conscent.ai/version-2.0/integrating-apis-v2/update-subscriptiondetails.md).

# 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="/files/1qYVATW6xR0ma8HokKIa" alt=""><figcaption></figcaption></figure>
