Table of Contents

GetOrder

Description

This method is used to obtain information about the order placed in the MONT system.

Parameters

NameTypeDescription
orderNumberintOrder number

Return value

NameTypeDescription
OrderNumstringOrder number
OrderStatusintCurent order status. Possible values are described by OrderLineStatusEnum
If all order lines are completed successfully, the order status will be “completed successfully”. Otherwise, the status of the order wil be “in process”. (i.e., the status of the Order will never be “error”)
DateCreatedDateTimeOrder create date
OrderLinesarray of OrderLineContractlist of order lines
It should be noted that the Microsoft vendor has products with FulfillmentType = 1. For these products, the vendor limited the link expiry period to 24 hours. To request an updated link, use the same GetOrder method. The reply will contain updated links that are valid at the time of method call.

Errors

Error CodeError Text
3Order not found

Examples

Запрос XmlOverHttp

Ответ XmlOverHttp

SOAP request

SOAP reply


Sample scripts on PHP

Example of running REST and SOAP requests