Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add additional fields to the order definition

...

Field
Data Type
Required
Information
GuidOrderGuidGuidYUsed to uniquely identify a order
OrderNumberIntegerYA customer friendly order number, unique to the order, assigned when the order is placed
CurrencyStringYThe 3 letter ISO code of the currency the order was processed in, for example, "USD"
CreatedDateUtcDateTimeYThe date time the order was created as a basket, in UTC
LastSavedDateUtcDateTimeYThe date time the order was last saved, in UTC
CompletedDateUTCCompletedDateUtcDateTimeYThe date time the order was completed, in UTC
LinesArray Of Basket LinesYItems in the basket.
SubTotalDecimalYTotal amount of the order before shipping and discounts are applied
DiscountTotalDecimalYThe total amount the order was discounted by
ShippingTotalDecimalYThe total amount paid for shipping on the order
OrderTotalDecimalYTotal amount payable for the order.
StatusOrderStatusYThe current status of the order.the order
ShippingMethodStringYThe name of the shipping method the order was shipped by
ShippingAddressOrderAddressYThe address the order was shipped to