Home > @vsf-enterprise/commercetools-types > CustomLineItem

# CustomLineItem type

A custom line item is a generic item that can be added to the cart but is not bound to a product. You can use it for discounts (negative money), vouchers, complex cart rules, additional services or fees. You control the lifecycle of this item.

Signature:

export declare type CustomLineItem = {
    __typename?: 'CustomLineItem';
    id: Scalars['String'];
    name?: Maybe<Scalars['String']>;
    nameAllLocales: Array<LocalizedString>;
    money: BaseMoney;
    totalPrice: Money;
    slug: Scalars['String'];
    quantity: Scalars['Long'];
    state: Array<ItemState>;
    taxCategory?: Maybe<TaxCategory>;
    taxCategoryRef?: Maybe<Reference>;
    taxRate?: Maybe<TaxRate>;
    taxedPrice?: Maybe<TaxedItemPrice>;
    discountedPricePerQuantity: Array<DiscountedLineItemPriceForQuantity>;
    custom?: Maybe<CustomFieldsType>;
    shippingDetails?: Maybe<ItemShippingDetails>;
};

References: Scalars, Maybe, LocalizedString, BaseMoney, Money, ItemState, TaxCategory, Reference, TaxRate, TaxedItemPrice, DiscountedLineItemPriceForQuantity, CustomFieldsType, ItemShippingDetails