OrderStatus Class

Represents a single status change.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Constructor

OrderStatus(*, status: str | _models.OrderState, comments: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
status

Status of the order as per the allowed status types. Required. Known values are: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", and "CollectedAtMicrosoft".

comments
str

Comments related to this status change.

Default value: None

Variables

Name Description
status

Status of the order as per the allowed status types. Required. Known values are: "Untracked", "AwaitingFulfilment", "AwaitingPreparation", "AwaitingShipment", "Shipped", "Arriving", "Delivered", "ReplacementRequested", "LostDevice", "Declined", "ReturnInitiated", "AwaitingReturnShipment", "ShippedBack", and "CollectedAtMicrosoft".

update_date_time

Time of status update.

comments
str

Comments related to this status change.

additional_order_details

Dictionary to hold generic information which is not stored by the already existing properties.