ESET Online Help

Search
Select the topic

Order

Call description

This request orders a license for the specified customer. You have to select the product,quantity of seats and license type. You can only order a license for a Customer (not for other entity types).

This API call requires authorization; the user has to be logged in.

Request URL: https://mspapi.eset.com/api/License/Order

This request is a POST call type.

Call structure

{

  "quantity": 0,

  "productCode": "string",

  "customerId": "string",

  "licenseType": 1

}

Call parameters

Parameter

Description

quantity

The seat count for the license.

Mandatory input parameter. A proper value must be set.

productCode

The product codes are numeric identifiers for ESET products. The list of codes is available using the AvailableProducts call. At least one product code is required.

Mandatory input parameter. A proper value must be set.

customerId

The companyId of the customer.

Mandatory input parameter. A proper value must be set.

licenseType

Type 1 is a full license; type 4 is a trial license.

Mandatory input parameter. A proper value must be set.

Response structure

The response contains data in the JSON format.

You get the license public key in the response.

hmtoggle_plus0Example response

 

 

Troubleshooting

ESET MSP Administrator 2 API uses standardized error codes. If you are getting errors or unexpected responses, see the Troubleshooting API for common problems and the list of error codes.

List of error codes