latestOpenAPI 3.1.02026-08-141866831.1 MB

77e4ef94fcc3

subscriptions
public

Create Subscription

Create a subscription programmatically.

This endpoint only allows to create subscription on free products. For paid products, use the checkout flow.

No initial order will be created and no confirmation email will be sent.

Scopes: subscriptions:write

post/v1/subscriptions/

Request body

OR

Example request

{
  "product_id": "d8dd2de1-21b7-4a41-8bc3-ce909c0cfe23",
  "customer_id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b"
}

Response

Subscription created.

Subscription required— unresolved $ref