latestSwagger 2.02026-08-109450223.9 KB
94acb422c07d
Reseller
Create Reseller Subscription
Creates a subscription for a product on a reseller-managed account.
Note: This endpoint only allows the creation of subscriptions that use the default terms, conditions, and pricing. Please contact your account admin for any terms that are not covered by our standard API.
post/v1/reseller/subscriptions
Request body
Response
Create Reseller Subscription
Example response
{
"subscription": {
"id": 1,
"account": {
"id": 1,
"name": "Little Bobby's Table Emporium"
},
"product": "edr",
"status": "active",
"minimum_usage": 50,
"terminal_minimum_usage": 100,
"billing_interval": "monthly",
"effective_date": "2024-01-01T00:00:00Z",
"renewal_date": "2025-01-01T00:00:00Z",
"auto_renew": true,
"schedules": [
{
"id": 1,
"minimum": 100,
"maximum": 500,
"status": "active",
"target_price": 200,
"months": 12,
"promo_units": 0,
"starts_at": "2024-01-01T00:00:00Z",
"ends_at": "2025-01-01T00:00:00Z"
}
]
}
}