POST /reseller-subscriptions.json

POST /reseller-subscriptions.json
application/json

Body Required

Responses

POST /reseller-subscriptions.json
curl \
 -X POST http://api.example.com/v1/reseller-subscriptions.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"discount":{},"name":"string","resellerId":42,"status":"pending","stripeProductId":"string","stripeSubscriptionId":"string"}'
Request example
{
  "discount": {},
  "name": "string",
  "resellerId": 42,
  "status": "pending",
  "stripeProductId": "string",
  "stripeSubscriptionId": "string"
}
Response examples (200)
{
  "createdAt": "2024-05-04T09:42:00+00:00",
  "discount": {},
  "id": 42,
  "name": "string",
  "resellerId": 42,
  "status": "pending",
  "stripeProductId": "string",
  "stripeSubscriptionId": "string",
  "updatedAt": "2024-05-04T09:42:00+00:00"
}