get_order
(**kwargs)¶Gets information about the specified order.
See also: AWS API Documentation
Request Syntax
response = client.get_order(
OrderId='string'
)
[REQUIRED]
The ID of the order.
{
'Order': {
'OutpostId': 'string',
'OrderId': 'string',
'Status': 'RECEIVED'|'PENDING'|'PROCESSING'|'INSTALLING'|'FULFILLED'|'CANCELLED'|'PREPARING'|'IN_PROGRESS'|'COMPLETED'|'ERROR',
'LineItems': [
{
'CatalogItemId': 'string',
'LineItemId': 'string',
'Quantity': 123,
'Status': 'PREPARING'|'BUILDING'|'SHIPPED'|'DELIVERED'|'INSTALLING'|'INSTALLED'|'ERROR'|'CANCELLED'|'REPLACED',
'ShipmentInformation': {
'ShipmentTrackingNumber': 'string',
'ShipmentCarrier': 'DHL'|'DBS'|'FEDEX'|'UPS'
},
'AssetInformationList': [
{
'AssetId': 'string',
'MacAddressList': [
'string',
]
},
],
'PreviousLineItemId': 'string',
'PreviousOrderId': 'string'
},
],
'PaymentOption': 'ALL_UPFRONT'|'NO_UPFRONT'|'PARTIAL_UPFRONT',
'OrderSubmissionDate': datetime(2015, 1, 1),
'OrderFulfilledDate': datetime(2015, 1, 1),
'PaymentTerm': 'THREE_YEARS'|'ONE_YEAR',
'OrderType': 'OUTPOST'|'REPLACEMENT'
}
}
Response Structure
Information about an order.
The ID of the Outpost in the order.
The ID of the order.
The status of the order.
PREPARING
- Order is received and being prepared.IN_PROGRESS
- Order is either being built, shipped, or installed. To get more details, see the line item status.COMPLETED
- Order is complete.CANCELLED
- Order is cancelled.ERROR
- Customer should contact support.Note
The following status are deprecated: RECEIVED
, PENDING
, PROCESSING
, INSTALLING
, and FULFILLED
.
The line items for the order
Information about a line item.
The ID of the catalog item.
The ID of the line item.
The quantity of the line item.
The status of the line item.
Information about a line item shipment.
The tracking number of the shipment.
The carrier of the shipment.
Information about assets.
Information about a line item asset.
The ID of the asset.
The MAC addresses of the asset.
The ID of the previous line item.
The ID of the previous order.
The payment option for the order.
The submission date for the order.
The fulfillment date of the order.
The payment term.
The type of order.
Exceptions
Outposts.Client.exceptions.ValidationException
Outposts.Client.exceptions.NotFoundException
Outposts.Client.exceptions.InternalServerException