UNPKG

@shipengine/connect

Version:

The official developer tooling for building ShipEngine connect apps

18 lines (16 loc) 454 B
import type { RatingContext, ShipmentAndId, RateResultsAndId, } from "@shipengine/connect-carrier-api"; /** Get rates for a batch of shipments * @param context Context for this request * @param shipments Shipments for which to get rates * @returns List of charges that apply to this shipment */ export default async function rateShipments( context: RatingContext, shipments: ShipmentAndId[] ): Promise<RateResultsAndId[]> { return []; }