---
title: "Subscribe"
method: POST
path: "/subscription"
tags: ["Subscription"]
---

# Subscribe

`POST /subscription`

Create a subscription for the current user.

## Request body

- Subscription — Subscription to a Terminal shop product.
  - `id` string, required — Unique object identifier. The format and length of IDs may change over time.
  - `productVariantID` string, required — ID of the product variant being subscribed to.
  - `quantity` integer, required — Quantity of the subscription.
  - `addressID` string, required — ID of the shipping address used for the subscription.
  - `cardID` string, required — ID of the card used for the subscription.
  - `frequency` 'fixed' | 'daily' | 'weekly' | 'monthly' | 'yearly', required — Frequency of the subscription.
  - `schedule` union — Schedule of the subscription.
    - object
      - `type` 'fixed', required
    - object
      - `type` 'weekly', required
      - `interval` integer, required
  - `next` string — Next shipment and billing date for the subscription.

## Response `200`

Subscription was created successfully.

- object
  - `data` 'ok', required

## Changes

- **2025-02-16** `d05a14360ad1` — 1 info
  - added the new optional request property `allOf[#/components/schemas/Subscription]/schedule`
- **2025-02-06** `628874ec2e5b` — 1 info
  - added the new optional request property `allOf[#/components/schemas/Subscription]/next`
- **2024-12-18** `416a8af6f912` — 2 info
  - the `data` response property const value `ok` was added for the status `200`
  - removed the `ok` enum value from the `data` response property for the response status `200`
- **2024-12-17** `168780e70e1a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/terminaldotshop/apis/terminal-api/changes/subscription/post.md)

---

[API](https://skmtc.dev/terminaldotshop/apis/terminal-api.md) · [All operations](https://skmtc.dev/terminaldotshop/apis/terminal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/terminaldotshop/terminal-api/revisions/d05a14360ad1/schema)
