Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / CreatedOrder

Interface: CreatedOrder

What POST /store/orders returns on 201.

Properties

couponDiscount

couponDiscount: number

What the coupon took off; 0 without one.


deliveryFee

deliveryFee: number


orderId

orderId: string


orderNumber

orderNumber: string


price

price: number


total

total: number

price + deliveryFee, offers and the coupon applied.