Contract for handling the extension acquisition process

interface ExtensionAcquisitionRequest {
    assignmentType?: AcquisitionAssignmentType;
    billingId?: string;
    itemId?: string;
    operationType?: AcquisitionOperationType;
    properties?: any;
    quantity?: number;
    targets?: string[];
}

Properties

assignmentType?: AcquisitionAssignmentType

How the item is being assigned

billingId?: string

The id of the subscription used for purchase

itemId?: string

The marketplace id (publisherName.extensionName) for the item

operationType?: AcquisitionOperationType

The type of operation, such as install, request, purchase

properties?: any

Additional properties which can be added to the request.

quantity?: number

How many licenses should be purchased

targets?: string[]

A list of target guids where the item should be acquired (installed, requested, etc.), such as account id