A completed order. Requires the same five monetary totals as FlowbizCart.

interface FlowbizOrder {
    cartId: string;
    coupons?: string[];
    currency?: string;
    deliveryAddress?: FlowbizAddress;
    deliveryMethods?: FlowbizMethod[];
    discounts: number;
    freight: number;
    items?: FlowbizCartItem[];
    orderId?: string;
    paymentMethods?: FlowbizMethod[];
    subtotal: number;
    tax: number;
    total: number;
}

Properties

cartId: string
coupons?: string[]

Coupon codes. Entries must be strings — a non-string entry rejects the whole call.

currency?: string
deliveryAddress?: FlowbizAddress
deliveryMethods?: FlowbizMethod[]
discounts: number
freight: number
items?: FlowbizCartItem[]
orderId?: string
paymentMethods?: FlowbizMethod[]
subtotal: number
tax: number
total: number