Skip to main content

OrderHistoryOrder

Overview​

The OrderHistoryOrder type represents a customer's order detail fetched from OMS for display in the High Velocity front-end app.

note

You are not stuck with these attributes, since you have full control of the code in High Velocity, you are free to modify, remove, or add attributes

Attributes​

id​

type: string


The unique identifier for the order.

orderPlaced​

type: DateModel

The date when the order was placed.

itemCount​

type: number


The total number of items in the order.

status​

type: OrderStatus


The status of the order. Possible values are:

  • pending
  • shipped
  • delivered
  • cancelled

lineItems​

type: OrderHistoryLineItem[]

The list of line items in the order.

taxTotal (optional)​

type: Money


The total tax amount for the order.

promotionsTotal (optional)​

type: Money


The total amount of promotions applied to the order.

total​

type: Money


The total amount for the order.

subTotal (optional)​

type: Money


The subtotal amount for the order.

shippingTotal (optional)​

type: Money


The total shipping amount for the order.

shippingAddress​

type: OrderHistoryShippingAddress

The shipping address associated with the order.