Assign a subscription (partner-admin flow)
POST/v1/partners/subscriptions/assign
Assigns a subscription for an organization using a priceId the partner is allowed to sell. Payment is handled by the partner; this endpoint only registers the assignment.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
Subscription assigned successfully
Validation error - Price not allowed for partner or would be a downgrade
Unauthorized - Invalid or missing authentication token
Forbidden - Organization does not belong to the partner
Organization or price not found
Conflict - Organization already has an active incompatible subscription