interface StagedOrderRemoveLineItemAction {
    action: "removeLineItem";
    externalPrice?: _Money;
    externalTotalPrice?: ExternalLineItemTotalPrice;
    lineItemId: string;
    quantity?: number;
    shippingDetailsToRemove?: ItemShippingDetailsDraft;
}

Properties

action: "removeLineItem"
externalPrice?: _Money

Draft type that stores amounts only in cent precision for the specified currency.

externalTotalPrice?: ExternalLineItemTotalPrice
lineItemId: string
quantity?: number
shippingDetailsToRemove?: ItemShippingDetailsDraft

For order creation and updates, the sum of the targets must match the quantity of the Line Items or Custom Line Items.

Generated using TypeDoc