Отмена заказа. Без возможности восстановления.
Ниже приведено описание параметров.
| Параметр | Тип | Описание |
|---|---|---|
| login | String | Логин |
| pass | String | Пароль |
| did | Integer | ИД заказа, который нужно аннулировать |
| Параметр | Тип | Описание |
|---|---|---|
| did | Integer | ИД заказа |
| status | Integer | Статус операции. 1 - в случае успешного аннулирования заказа |
| statusMess | String | Сообщение |
array (
'did' => '7078605',
'status' => 1,
'statusMess' => 'Заказ аннулирован',
)
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="API" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:cancelOrderResponse>
<return xsi:type="ns2:Map">
<item>
<key xsi:type="xsd:string">did</key>
<value xsi:type="xsd:string">7078605</value>
</item>
<item>
<key xsi:type="xsd:string">status</key>
<value xsi:type="xsd:int">1</value>
</item>
<item>
<key xsi:type="xsd:string">statusMess</key>
<value xsi:type="xsd:string">Заказ аннулирован</value>
</item>
</return>
</ns1:cancelOrderResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>