Views:
Last updated: 12/5/2024 11:38:10 AM
Note
Note
Business role: Distributor (T1) and ISP (T1)
This API is used to assign the right to sell a specified product to an MSP, or to assign a service plan to a Reseller.
You can retrieve all request parameters required for this API from the Partners :: Product :: List API.

Request

HTTP Request

[POST] /LMPI/v3/partners/product

Parameters

Request Body

{
   "partner_id" : "7719b30b-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
   "product_id":"5953bc26-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
   "version":"0",
   "count":"1"
}
Name
Type
Description
Validation
Required Parameters
partner_id
string
The unique identifier of the partner company seeking to be assigned a product or service plan.
GUID format
version
string
The version of the product, service, or service plan.
Possible values include:
  • 0: Trial
  • 1: Full
Valid version type
Optional Parameters
product_id
string
The unique identifier of the product.
Note
Note
If assigning a product to an MSP, this field is mandatory.
At least this field or the field below must be provided.
GUID format
service_plan_id
string
The unique identifier of the service plan.
Note
Note
If assigning a product to a Reseller, this field is mandatory.
At least this field or the field above must be provided.
Important
Important
This function does not support assigning Trend Vision One service plans.
GUID format

Response

Response

If successful, this method returns an HTTP 200 OK status code and a response body with the following structure:
{
"partner_id": "7719b30b-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
"product_id": "5953bc26-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
"version": "Trial",
"count": "1"
}
Name
Type
Description
Length
partner_id
string
The unique identifier of the partner company that the specified product or service plan is assigned to.
GUID format
product_id
string
The unique identifier of the product assigned to the specified partner.
Note
Note
If the request is for service plan assignment, this field is not included in the API response.
GUID format
service_plan_id
string
The unique identifier of the service plan assigned to the specified partner.
Note
Note
If the request is for product assignment, this field is not included in the API response.
GUID format
version
string
The version of the assigned product or service plan.
1-10 characters
count
integer
The number of assigned products or service plans.
Positive integer