Generated after a successful Remove LineItem update action.

interface OrderLineItemRemovedMessage {
    createdAt: string;
    createdBy?: CreatedBy;
    id: string;
    lastModifiedAt: string;
    lastModifiedBy?: LastModifiedBy;
    lineItemId: string;
    lineItemKey?: string;
    newPrice?: Price;
    newQuantity: number;
    newShippingDetail?: ItemShippingDetails;
    newState: ItemState[];
    newTaxedPrice?: TaxedItemPrice;
    newTotalPrice: CentPrecisionMoney;
    removedQuantity: number;
    resource: Reference;
    resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
    resourceVersion: number;
    sequenceNumber: number;
    type: "OrderLineItemRemoved";
    version: number;
}

Properties

createdAt: string

Date and time (UTC) the Message was generated.

createdBy?: CreatedBy

IDs and references that created the Message.

id: string

Unique identifier of the Message. Can be used to track which Messages have been processed.

lastModifiedAt: string

Value of createdAt.

lastModifiedBy?: LastModifiedBy

IDs and references that last modified the Message.

lineItemId: string

Unique identifier of the Line Item.

lineItemKey?: string

User-defined unique identifier of the LineItem.

newPrice?: Price

Price of the Order after the Remove Line Item update action.

newQuantity: number

Line Item quantity after the Remove Line Item update action.

newShippingDetail?: ItemShippingDetails

Shipping Details of the Order after the Remove Line Item update action.

newState: ItemState[]

ItemStates after the Remove Line Item update action.

newTaxedPrice?: TaxedItemPrice

TaxedItemPrice of the Order after the Remove Line Item update action.

newTotalPrice: CentPrecisionMoney

totalPrice of the Order after the Remove Line Item update action.

removedQuantity: number

Quantity of Line Items that were removed during the Remove Line Item update action.

resource: Reference

Reference to the resource on which the change or action was performed.

resourceUserProvidedIdentifiers?: UserProvidedIdentifiers

User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

resourceVersion: number

Version of the resource on which the change or action was performed.

sequenceNumber: number

Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

type: "OrderLineItemRemoved"
version: number

Version of a resource. In case of Messages, this is always 1.