SERVER_HOST:

Prod: https://server.raketa.city

Dev: https://dev-server.raketa.city

Сделайте запрос методом POST по ссылке: {SERVER_HOST}/api-gate/v0/deliveries/orders

Headers:

--header 'Authorization: JWT {Token}' \\
--header 'Content-Type: application/json' \\

Body:

{
"merchant_order_id": 1021,
"extra_info": "Принять оплату 23000тг.",
"city": "Almaty", 
"from": {
   "address": {
       "apartment": "",
       "entrance": "",
       "floor": "",
       "intercom": "",
       "street": "Аль-Фараби",
       "building": "12Б",
       "extra_info": "Заезд со стороны Достык",
			 "longitude": 76.918615, //необязательное поле
       "latitude": 43.201877 //необязательное поле
   },
   "phone_number": "+77076013399",
   "name": "Алишер"
},
"to": {
   "address": {
       "apartment": "",
       "entrance": "",
       "floor": "",
       "intercom": "",
       "street": "проспект Абая",
       "building": "18/1 блок 5",
       "extra_info": "Заезд со стороны Тлендиева",
			 "longitude": 76.918700, //необязательное поле
       "latitude": 43.201800   //необязательное поле
   },
   "phone_number": "+77076012246",
   "name": "Вася Иванов"
},
"product_name": "iPhone XR;Macbook Pro 15;Apple Ait Tag", 
"items": [ 
    { 
        "title": "iPhone XR", 
        "price": 270300, 
        "count": 1 
    }, 
    { 
        "title": "Macbook Pro 15", 
        "price": 450000, 
        "count": 1 
    },
		{ 
        "title": "Apple Air Tag", 
        "price": 15000, 
        "count": 3 
    }
],
"amount_to_accept_payment": 765300,
"planned_datetime": null,
"callback_url": "<callback_url>",
"transport_type": "FOOT" 
}