Изменения

Перейти к: навигация, поиск

API Documentation

1545 байт убрано, 10:14, 28 июля 2021
м
Cancellation of order
The '''''content''''' tag contains base64 encoded binary data (PDF file).
 
== Cancellation of order ==
 
Cancel request is intended to be used for cancellation of those orders about which no changes have been made - like delivery status, correspondence status and delivery time - in other words, those orders which are not being processed.
 
In case of order cancellation “Delivery information” field gets the value “Cancelled by the customer” and “Delivery date” field gets a current date.
 
 
'''The example of a query for order cancellation:'''
<source lang="xml">
<?xml version="1.0" encoding="UTF-8" ?>
<cancelorder>
<auth extra="8" login="login" pass="pass" />
<order orderno="" ordercode="123456" />
<order orderno="123aaa" ordercode="" />
</cancelorder>
</source>
 
 
'''The description of status query fields:'''
 
'''cancelorder''' is a root container. Required.
*'''auth''' is authorization. Required.
*'''order''' is a cancelled order container. Required. A query may contain more than one '''order''' container. It has the following attributes:
:* '''''orderno''''' is order`s cipher.
:* '''''ordercode''''' is an internal code of the order.
Please, note that at least one of ''orderno'' or ''ordercode'' attributes should be specified!
 
 
'''The example of a response:'''
<source lang="xml">
<?xml version="1.0" encoding="UTF-8" ?>
<cancelorder>
<order orderno="123test" ordercode="123456" error="0" errormsg="OK" errormsgru="Successfully" />
<order orderno="123aaa" ordercode="" error="52" errormsg="order not found" errormsgru="The order is not found" />
</cancelorder>
</source>
== City names list ==

Навигация