Represents a line item in an order with its properties.

interface MSOrderLineItemModel {
    CustomData1: string;
    CustomTags: CustomTagsModel;
    DeliveryType: DeliveryTypeModel;
    ExternalProductId: string;
    ExtraData: {
        [key: string]: string;
    };
    JobId: string;
    NopProductId: number;
    PdfExternalUrl: string;
    PdfFile: any;
    PdfHash: string;
    ProductVariantAttributes: RecordOrderKeyValue[];
    Quantity: number;
}

Properties

CustomData1: string

Additional custom data field 1.

CustomTags: CustomTagsModel

Custom tags associated with the order line item.

DeliveryType: DeliveryTypeModel

Type of delivery for the order line item.

ExternalProductId: string

External ID of the product.

ExtraData: {
    [key: string]: string;
}

Additional data stored as key-value pairs.

JobId: string

Job ID associated with the order line item. Can be a number or a number with type as prefix.

NopProductId: number

ID of the product in the NopCommerce system.

PdfExternalUrl: string

URL to the external PDF associated with the product.

PdfFile: any

Any PDF file related to the order line item.

PdfHash: string

Hash value associated with the PDF file.

ProductVariantAttributes: RecordOrderKeyValue[]

Array of key-value pairs representing product variant attributes.

Quantity: number

Quantity of the product in the order.