Изменения

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

API Documentation

43 байта добавлено, 07:36, 2 июля 2021
м
Order update
The description of response containers is similar to the description of [[API#.D0.97.D0.B0.D0.BF.D1.80.D0.BE.D1.81_.D1.81.D1.82.D0.B0.D1.82.D1.83.D1.81.D0.B0_.D0.B7.D0.B0.D0.BA.D0.B0.D0.B7.D0.BE.D0.B2|Order status query]].
== Changing Order update ==The request is intended to change edit the orders for which that are not in process yet — there have been was no changes in the of shipment status of correspondence, or delivery time - that is, orders that are not yet in operationetc.
You can only update edit orders if the courier company service uses tariffs «Premium» the Premium or «Maximum»Maximum [[Courier Service Account#Personal Account Functions|personal account plan]]. In To enable order editing, in the courier service account go to allow this option they must turn it on at '''Settings''' > '''Parameters''' > '''AdvansedAdvanced''' and set select the '''Allow cancelling ordercanceling and editing orders''' flagcheck box.
<div style="color: #a94442; background-color: #f2dede; border: 1px solid #ebccd1; padding: 3px 10px 10px;">
'''Note!'''#Data of the change The edit request is indicated in full, must contain all order data as if the order was is being created for the first time.#If there is no attachment in the change edit requestis missing an item, this attachment the item is not removed from the order, but its quantity becomes 0.#When changing the If an order in the is being edited via API and in MeaSoft desktop application at the courier service systemsame time, priority is given to only the data of changes made in the courier service systemdesktop applications are applied. That is, changes to the API will not be accepted!
</div>
<br>
=== Order update request fields description Edit Request Fields ===Description of change request fieldsAll request fields correspond to the [[#Creating Order|order creating request structure when creating an order]], except for:* specify the <code>editorder is specified </code> instead of the <code>neworder </code> root tag.* do not specify the <code>barcode </code> tag barcode is not specified as it is assigned when creating an order.* for <code>item attachments</code> items, specify the item internal code of the attachment is indicated in the <code >code</code> attribute. To receive the internal code, which can be obtained when receiving use the [[#Order Status|order status]] request.
=== Order update answer fields description Edit Response Fields ===All the response fields are correspond to the same as [[#Creating Order|order creating responce structure]], except for "Neworder" request but the root tag: *the '''<code>editorder''' </code> tag is returned instead of '''<code>neworder'''</code>.
== Status change by agent ==

Навигация