remove reseller invite link + priceID fix

This commit is contained in:
crn4
2026-04-29 13:11:53 +02:00
parent dedb7e51e9
commit 0a2b88a008
2 changed files with 11 additions and 51 deletions

View File

@@ -3795,7 +3795,7 @@ components:
type: string
description: The domain for the MSP
example: "new-partner.com"
price_id:
priceID:
type: string
description: Stripe price ID to set up managed subscription for the MSP
example: "price_1234"
@@ -8662,37 +8662,6 @@ paths:
$ref: "#/components/responses/requires_authentication"
"500":
$ref: "#/components/responses/internal_error"
post:
summary: Activate Reseller account
description: Activates the authenticated account as a reseller
tags:
- MSP
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
invite:
type: string
description: The invite code
example: "705860a1-27a3-4976-bf63-c5cd2fc1582b"
required:
- invite
responses:
"200":
description: Reseller account activated or already exists
"400":
$ref: "#/components/responses/bad_request"
"401":
$ref: "#/components/responses/requires_authentication"
"403":
$ref: "#/components/responses/forbidden"
"412":
description: Reseller account requirements not met
"500":
$ref: "#/components/responses/internal_error"
/api/integrations/msp/reseller/msps:
get:
summary: List MSPs under reseller
@@ -9120,11 +9089,11 @@ paths:
schema:
type: object
properties:
price_id:
priceID:
type: string
description: The Stripe price ID for the plan
required:
- price_id
- priceID
responses:
"200":
description: Subscription created successfully
@@ -9159,11 +9128,11 @@ paths:
schema:
type: object
properties:
price_id:
priceID:
type: string
description: The new Stripe price ID
required:
- price_id
- priceID
responses:
"200":
description: Subscription updated successfully

View File

@@ -1641,8 +1641,8 @@ type CreateResellerMSPRequest struct {
// Name The name for the MSP
Name string `json:"name"`
// PriceId Stripe price ID to set up managed subscription for the MSP
PriceId *string `json:"price_id,omitempty"`
// PriceID Stripe price ID to set up managed subscription for the MSP
PriceID *string `json:"priceID,omitempty"`
// ResellerCustomerId Reseller's internal customer reference for this MSP
ResellerCustomerId *string `json:"reseller_customer_id,omitempty"`
@@ -4681,12 +4681,6 @@ type PostApiIntegrationsMspJSONBody struct {
Invite string `json:"invite"`
}
// PostApiIntegrationsMspResellerJSONBody defines parameters for PostApiIntegrationsMspReseller.
type PostApiIntegrationsMspResellerJSONBody struct {
// Invite The invite code
Invite string `json:"invite"`
}
// PutApiIntegrationsMspResellerMspsIdInviteJSONBody defines parameters for PutApiIntegrationsMspResellerMspsIdInvite.
type PutApiIntegrationsMspResellerMspsIdInviteJSONBody struct {
// Value Accept or decline the invitation
@@ -4698,14 +4692,14 @@ type PutApiIntegrationsMspResellerMspsIdInviteJSONBodyValue string
// PostApiIntegrationsMspResellerMspsIdSubscriptionJSONBody defines parameters for PostApiIntegrationsMspResellerMspsIdSubscription.
type PostApiIntegrationsMspResellerMspsIdSubscriptionJSONBody struct {
// PriceId The Stripe price ID for the plan
PriceId string `json:"price_id"`
// PriceID The Stripe price ID for the plan
PriceID string `json:"priceID"`
}
// PutApiIntegrationsMspResellerMspsIdSubscriptionJSONBody defines parameters for PutApiIntegrationsMspResellerMspsIdSubscription.
type PutApiIntegrationsMspResellerMspsIdSubscriptionJSONBody struct {
// PriceId The new Stripe price ID
PriceId string `json:"price_id"`
// PriceID The new Stripe price ID
PriceID string `json:"priceID"`
}
// PutApiIntegrationsMspTenantsIdInviteJSONBody defines parameters for PutApiIntegrationsMspTenantsIdInvite.
@@ -4837,9 +4831,6 @@ type UpdateSentinelOneEDRIntegrationJSONRequestBody = EDRSentinelOneRequest
// PostApiIntegrationsMspJSONRequestBody defines body for PostApiIntegrationsMsp for application/json ContentType.
type PostApiIntegrationsMspJSONRequestBody PostApiIntegrationsMspJSONBody
// PostApiIntegrationsMspResellerJSONRequestBody defines body for PostApiIntegrationsMspReseller for application/json ContentType.
type PostApiIntegrationsMspResellerJSONRequestBody PostApiIntegrationsMspResellerJSONBody
// PostApiIntegrationsMspResellerMspsJSONRequestBody defines body for PostApiIntegrationsMspResellerMsps for application/json ContentType.
type PostApiIntegrationsMspResellerMspsJSONRequestBody = CreateResellerMSPRequest