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 "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": "2023-05-04T09:42:00+00:00",
  "discount": {},
  "id": 42,
  "name": "string",
  "resellerId": 42,
  "status": "pending",
  "stripeProductId": "string",
  "stripeSubscriptionId": "string",
  "updatedAt": "2023-05-04T09:42:00+00:00"
}