interface IInput {
    data: {
        cycle_id: string;
        groups: {
            braname: string;
            delivery_variant: MarketplaceShipmentDeliveryVariant;
            order_ids?: null | string[];
            ttn_data?: null | {
                delivery_datetime_estimate?: null | string;
                expeditor_full_name?: null | string;
                expeditor_phone?: null | string;
                loading_address?: null | string;
                loading_datetime?: null | string;
                packaging?: null | {
                    order_id: string;
                    units_per_box: number;
                }[];
                vehicle_number?: null | string;
            };
        }[];
    };
}

Properties

Properties

data: {
    cycle_id: string;
    groups: {
        braname: string;
        delivery_variant: MarketplaceShipmentDeliveryVariant;
        order_ids?: null | string[];
        ttn_data?: null | {
            delivery_datetime_estimate?: null | string;
            expeditor_full_name?: null | string;
            expeditor_phone?: null | string;
            loading_address?: null | string;
            loading_datetime?: null | string;
            packaging?: null | {
                order_id: string;
                units_per_box: number;
            }[];
            vehicle_number?: null | string;
        };
    }[];
}

Type declaration

  • cycle_id: string

    Идентификатор консолидированной заявки в статусе ACCEPTED.

  • groups: {
        braname: string;
        delivery_variant: MarketplaceShipmentDeliveryVariant;
        order_ids?: null | string[];
        ttn_data?: null | {
            delivery_datetime_estimate?: null | string;
            expeditor_full_name?: null | string;
            expeditor_phone?: null | string;
            loading_address?: null | string;
            loading_datetime?: null | string;
            packaging?: null | {
                order_id: string;
                units_per_box: number;
            }[];
            vehicle_number?: null | string;
        };
    }[]

    Группы доставки по КУ заявки. Каждая группа = одна партия (один КУ, один вариант доставки, опционально подмножество заказов). Покрытие всех КУ заявки не требуется — можно формировать частично и догружать остаток отдельными партиями.