====== Delayed orders trading scheme ====== ===== Scheme description===== The point of the scheme is - placing the order is reversible. This is achieved by placing a so-called "delayed" order - within 2 hours there is an opportunity to cancel the order without any interference. If the order was not canceled within 2 hours, the sale is considered to be successfully completed and the information is sent to the MONT reporting system. If the order is canceled within 2 hours, the keys to it are returned to the virtual MONT warehouse for further resale. For the reporting system, this order did not exist. ===== Conditions ===== * The partner knows the list of products in the MONT system to trade * The partner have a login for a system and all the required contracts are concluded. * For the partner are configured (if required) all the necessary discounts in the price list. * For login of partner are configuredthat the keys are returned immediately in response to the request. ===== Steps ===== ==== 1. Place delayed order (AddOrderDelayed) ==== {{page>en:apiv2:methods:addorderdelayed:summary_page&noheader}} ==== 2. Confirm delayed order (ConfirmDelayedOrder) ==== In case when sale to the end user is successfull, the partner can send a request for confirm of the delayed order. The order will be considered successful and it's data will be sent to the MONT reporting system without waiting for the end of 2 hours. After 2 hours from the moment of placing the delayed order, the system will consider the order successful anyway (even without confirmation). {{page>ru:apiv2:methods:confirmdelayedorder:summary_page&noheader}} ==== 2а. Refuse delayed order (RefuseDelayedOrder) ==== {{page>en:apiv2:methods:refusedelayedorder:summary_page}} {{tag>external_api_v2 delayed_orders user_manual en}}