---
title: "Update a subscription"
method: PATCH
path: "/marketplace/seller/subscription/{botId}/{buyerId}"
tags: ["Subscription"]
---

# Update a subscription

`PATCH /marketplace/seller/subscription/{botId}/{buyerId}`

## Request

- Base URL: `https://api.tradelocker.com/studio`
- URL: `https://api.tradelocker.com/studio/marketplace/seller/subscription/{botId}/{buyerId}`
- Auth: HTTP bearer

Update the subscription

## Path parameters

- `botId` string, uuid, required
- `buyerId` string, email, required

## Request body

- PatchSubscriptionRequest
  - `expiresOnTs` string, date-time, nullable

## Response `200`

Successful Response

- PatchSubscriptionResponse
  - `data` SubscriptionSchema, required
    - `botId` string, uuid, required
    - `buyerId` string, email, required
    - `createdTs` string, date-time, required
    - `lastModifiedTs` string, date-time, required
    - `expiresOnTs` string, date-time, nullable

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/tradelocker/apis/studio-creator-api.md) - [All operations](https://skmtc.dev/tradelocker/apis/studio-creator-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tradelocker/apis/studio-creator-api/revisions/f402a56b26fb?raw)
