Skip to main content

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

Interface: ShippingQuote

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

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:1949


expires_at

TypeScript
expires_at: string;

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

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:1931

ID of the order this quote was taken for.


id

TypeScript
id: string;

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


items

TypeScript
items: object[];

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

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:1929


options

TypeScript
options: ShippingQuoteOption[];

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

Every carrier service on offer, cheapest first.


ship_to_address

TypeScript
ship_to_address: HardwareOrderAddress;

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

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