An Order is a Basket that has gone through the checkout process to become a placed order. The orders are only visible to the users who created them, and cannot be modified.
Requires:
Actions
URL | Verb | Information |
---|---|---|
/orders | GET | Returns a list of all existing orders for the currently logged in user |
/order/{Guid} | GET | Returns a order for the specified {Guid} and the currently logged in user |
/orders?ProjectGuid= | GET | Returns a list of all existing orders for the currently logged in user and the projectGuid specified in the query string. |
Attributes
The following details are returned about a order.
Field | Data Type | Required | Information |
---|---|---|---|
Guid | Guid | Y | Used to uniquely identify a order |
CreatedDateUtc | DateTime | Y | The date time the order was created as a basket, in UTC |
LastSavedDateUtc | DateTime | Y | The date time the order was last saved, in UTC |
CompletedDateUTC | DateTime | Y | The date time the order was completed, in UTC |
Lines | Array Of Basket Lines | Y | Items in the basket. |
OrderTotal | Decimal | Y | Total amount payable for the order. |
Status | OrderStatus | Y | The current status of the order. |