# This file was auto-generated by Fern from our API Definition.

import typing

import typing_extensions


class UpdateTransferOrderLineDataParams(typing_extensions.TypedDict):
    """
    Represents a line item update in a transfer order
    """

    uid: typing_extensions.NotRequired[typing.Optional[str]]
    """
    Line item id being updated. Required for updating/removing existing line items, but should not be set for new line items.
    """

    item_variation_id: typing_extensions.NotRequired[typing.Optional[str]]
    """
    Catalog item variation being transferred
    
    Required for new line items, but otherwise is not updatable.
    """

    quantity_ordered: typing_extensions.NotRequired[typing.Optional[str]]
    """
    Total quantity ordered
    """

    remove: typing_extensions.NotRequired[typing.Optional[bool]]
    """
    Flag to remove the line item during update. Must include `uid` in removal request
    """
