---
title: "Create a subscription"
method: POST
path: "/marketplace/seller/subscription"
tags: ["Subscription"]
---

# Create a subscription

`POST /marketplace/seller/subscription`

## Request

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

Create the subscription

## Request body

- PostSubscriptionRequest
  - `botId` string, uuid, required
  - `buyerId` string, email, required
  - `expiresOnTs` string, date-time, nullable

## Response `201`

Successful Response

- PostSubscriptionResponse
  - `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)
