interface OrderSetLineItemShippingDetailsAction {
    action: "setLineItemShippingDetails";
    lineItemId?: string;
    lineItemKey?: string;
    shippingDetails?: ItemShippingDetailsDraft;
}

Properties

action: "setLineItemShippingDetails"
lineItemId?: string

id of the LineItem to update. Either lineItemId or lineItemKey is required.

lineItemKey?: string

key of the LineItem to update. Either lineItemId or lineItemKey is required.

shippingDetails?: ItemShippingDetailsDraft

Value to set. If empty, the existing value is removed.