interface CustomLineItemReturnItem {
    comment?: string;
    createdAt: string;
    custom?: CustomFields;
    customLineItemId: string;
    id: string;
    key?: string;
    lastModifiedAt: string;
    paymentState: string;
    quantity: number;
    shipmentState: string;
    type: "CustomLineItemReturnItem";
}

Properties

comment?: string

User-defined description for the return.

createdAt: string

Date and time (UTC) the Return Item was intitially created.

custom?: CustomFields

Custom Fields of the Return Item.

customLineItemId: string

id of the returned CustomLineItem.

id: string

Unique identifier of the Return Item.

key?: string

User-defined unique identifier of the CustomLineItemReturnItem.

lastModifiedAt: string

Date and time (UTC) the Return Item was last updated.

paymentState: string

Payment status of the Return Item:

- `NonRefundable`, for items in the `Advised` [ReturnShipmentState](ctp:api:type:ReturnShipmentState)
- `Initial`, for items in the `Returned` [ReturnShipmentState](ctp:api:type:ReturnShipmentState)
quantity: number

Number of Custom Line Items returned.

shipmentState: string

Shipment status of the Return Item.

type: "CustomLineItemReturnItem"