Skip to main content

@dialstack/sdk-dev / server/src / ShippingQuote

Interface: ShippingQuote

Defined in: sdk/server/src/index.ts:2050

What the distributor quoted to ship a draft order, and what it quoted for. Creating one changes nothing on the order; choose a service from it with shipping_quote and shipping_method on hardwareOrders.update.

Properties​

created_at​

TypeScript
created_at: string;

Defined in: sdk/server/src/index.ts:2072


expires_at​

TypeScript
expires_at: string;

Defined in: sdk/server/src/index.ts:2071

After this, the quote can no longer be chosen from, and an order whose service was chosen from it can no longer be checked out.


hardware_order​

TypeScript
hardware_order: string;

Defined in: sdk/server/src/index.ts:2054

ID of the order this quote was taken for.


id​

TypeScript
id: string;

Defined in: sdk/server/src/index.ts:2051


items​

TypeScript
items: object[];

Defined in: sdk/server/src/index.ts:2061

The cart this quote was priced for. It can be chosen from only while the order holds exactly these quantities.

hardware_catalog​

TypeScript
hardware_catalog: string;

quantity​

TypeScript
quantity: number;

object​

TypeScript
object: "shipping_quote";

Defined in: sdk/server/src/index.ts:2052


options​

TypeScript
options: ShippingQuoteOption[];

Defined in: sdk/server/src/index.ts:2056

Every carrier service on offer, cheapest first.


ship_to_address​

TypeScript
ship_to_address: HardwareOrderAddress;

Defined in: sdk/server/src/index.ts:2066

The destination this quote was priced for. It can be chosen from only while the order still ships here.