From d63332f0c1c5742efbc026461f5cb528d00ddfb7 Mon Sep 17 00:00:00 2001 From: blackforest6230 Date: Wed, 14 Jul 2021 13:50:09 +0300 Subject: [PATCH] fix --- adoc/bms_aaS/erp_api.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adoc/bms_aaS/erp_api.adoc b/adoc/bms_aaS/erp_api.adoc index c940e87..1b92144 100644 --- a/adoc/bms_aaS/erp_api.adoc +++ b/adoc/bms_aaS/erp_api.adoc @@ -44,7 +44,7 @@ protocol_method:: POST method_name:: agent/parcel method_params:: new request_body:: {"order_id": "", "receiver": { "id": "", "phone": "", "email" : "", "first name" : "", "last_name": "", "patronymic": ""}, "delivery_type": "", "dest" : [, ], ["dest_address_id": ""], "dest_apartment": "", "weight" : , "price" : , "cod_amount" : , "type" : ":", "note" : "", "created_at": "", "contragent_id" : "", "sender": "", "dimensions": [, , ], "_comment" : "", "items": [, ...], "rolling_payments": } -expected_result:: 200 {"id" : "", "code": "", "success": true} +expected_result:: 200 {"id" : "", "code": "", "success": true} NOTE: Если не указывать `order_id` в теле запроса, он будет сгенерирован системой.