@dialstack/sdk-dev / server/src / HardwareOrderUpdateParams
Interface: HardwareOrderUpdateParams
Defined in: sdk/server/src/index.ts:2497
Changes to a draft order. Every field is optional and only what is sent changes, all or nothing: if any part is refused, none of it is applied.
Properties
items?
items?: object[];
Defined in: sdk/server/src/index.ts:2502
Replaces the cart. At least one line; quantity is 1-100 per line. Clears
the chosen carrier service, so it cannot be sent with shipping_method.
hardware_catalog
hardware_catalog: string;
quantity
quantity: number;
ship_to_address?
ship_to_address?: HardwareOrderAddress;
Defined in: sdk/server/src/index.ts:2509
Where the order ships. Changing it clears the chosen carrier service.
ship_to_recipient?
ship_to_recipient?: string;
Defined in: sdk/server/src/index.ts:2507
The name the parcel is addressed to. Changing it does not clear the chosen carrier service.
shipping_method?
shipping_method?: string;
Defined in: sdk/server/src/index.ts:2516
A carrier service from shipping_quote. The price is taken from that
quote, never from the request.
shipping_quote?
shipping_quote?: string;
Defined in: sdk/server/src/index.ts:2511
The shipping quote to choose shipping_method from. Sent with it.