> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blink.store/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a subscription manually

> Manually create a subscription for a customer. This bypasses checkout and directly assigns the subscription.



## OpenAPI

````yaml post /subscriptions
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security: []
paths:
  /subscriptions:
    post:
      tags:
        - Subscriptions
      summary: Create a subscription manually
      description: >-
        Manually create a subscription for a customer. This bypasses checkout
        and directly assigns the subscription.
      parameters:
        - name: x-store-id
          in: header
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - product_id
                - customer_id
              properties:
                product_id:
                  type: string
                  description: ID of the product
                customer_id:
                  type: string
                  description: ID of the customer
                variant_id:
                  type: string
                  description: ID of the variant (optional)
                status:
                  type: string
                  default: active
                  enum:
                    - active
                    - trialing
                    - canceled
                    - past_due
                    - paused
      responses:
        '200':
          description: OK

````