IOutput : { marketplaceCreateShipment : { shipments : { braname : string ; coopname : string ; created_at : unknown ; cycle_id : string ; delivery_variant : MarketplaceShipmentDeliveryVariant ; id : string ; offerer_account : string ; status : MarketplaceShipmentStatus ; total_amount : string ; ttn_data ?: { delivery_datetime_estimate ?: null | string ; expeditor_full_name ?: null | string ; expeditor_phone ?: null | string ; loading_address ?: null | string ; loading_datetime ?: null | string ; packaging ?: { order_id : string ; units_per_box : number ; } [] ; vehicle_number ?: null | string ; } ; ttn_document_id ?: null | string ; ttn_number ?: null | string ; updated_at : unknown ; } [] ; } ; } Type declaration marketplace Create Shipment : { shipments : { braname : string ; coopname : string ; created_at : unknown ; cycle_id : string ; delivery_variant : MarketplaceShipmentDeliveryVariant ; id : string ; offerer_account : string ; status : MarketplaceShipmentStatus ; total_amount : string ; ttn_data ?: { delivery_datetime_estimate ?: null | string ; expeditor_full_name ?: null | string ; expeditor_phone ?: null | string ; loading_address ?: null | string ; loading_datetime ?: null | string ; packaging ?: { order_id : string ; units_per_box : number ; } [] ; vehicle_number ?: null | string ; } ; ttn_document_id ?: null | string ; ttn_number ?: null | string ; updated_at : unknown ; } [] ; } shipments : { braname : string ; coopname : string ; created_at : unknown ; cycle_id : string ; delivery_variant : MarketplaceShipmentDeliveryVariant ; id : string ; offerer_account : string ; status : MarketplaceShipmentStatus ; total_amount : string ; ttn_data ?: { delivery_datetime_estimate ?: null | string ; expeditor_full_name ?: null | string ; expeditor_phone ?: null | string ; loading_address ?: null | string ; loading_datetime ?: null | string ; packaging ?: { order_id : string ; units_per_box : number ; } [] ; vehicle_number ?: null | string ; } ; ttn_document_id ?: null | string ; ttn_number ?: null | string ; updated_at : unknown ; } [] Defined in components/sdk/src/mutations/marketplace/createShipment.ts:19
Сформировать партии поставки из акцептованной заявки. Каждая группа = одна партия (КУ + вариант доставки + опционально подмножество заказов). Покрытие всех КУ не обязательно — допустима частичная отгрузка и догрузка остатка отдельными партиями.