POST /subscriptions.json

POST /subscriptions.json
application/json

Body Required

Responses

POST /subscriptions.json
curl \
 --request POST 'http://api.example.com/v1/subscriptions.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"charged":42,"discount":{},"shopifyChargeId":"string","source":"shopify","status":"pending","stripeSubscriptionId":"string"}'
Request examples
{
  "charged": 42,
  "discount": {},
  "shopifyChargeId": "string",
  "source": "shopify",
  "status": "pending",
  "stripeSubscriptionId": "string"
}
Response examples (200)
{
  "charged": 42,
  "createdAt": "2025-05-04T09:42:00Z",
  "discount": {},
  "id": 42,
  "shopifyChargeId": "string",
  "source": "shopify",
  "status": "pending",
  "stripeSubscriptionId": "string",
  "updatedAt": "2025-05-04T09:42:00Z"
}