@shipengine/connect-fulfillment-provider-api
Version:
OpenAPI specification and TypeScript definitions for the Connect Fulfillment Provider API
23 lines (22 loc) • 939 B
TypeScript
import { Auth, ConfirmationTypes, AdvancedOptions, InsuranceProviders, Package, Customs, ShipFrom, ShipTo, PudoLocation, FulfillmentPlanDetails, TimeWindow } from '..';
/** @description Basic structure for a request to get rates */
export interface GetRatesRequest {
transaction_id: string;
auth: Auth;
service_code?: string;
ship_datetime: string;
confirmation?: ConfirmationTypes;
advanced_options?: AdvancedOptions;
insurance_provider?: InsuranceProviders;
is_return_label: boolean;
packages: Package[];
customs?: Customs;
ship_to: ShipTo;
ship_from: ShipFrom;
pickup_location?: PudoLocation;
international?: boolean;
next_day?: boolean;
fulfillment_plan_details?: FulfillmentPlanDetails;
/** @description The carrier pickup window is the time designated when the carrier will pickup your package from the initial location */
carrier_pickup_window?: TimeWindow;
}