/api/orders/create з тим самим request/response-контрактом.curl --location '/api/orders/store' \
--header 'Content-Type: application/json' \
--data '{
"paymentMethod": 1,
"comment": "Термінова доставка",
"delivery": "Самовивіз зі складу №1",
"items": [
{
"id": "100",
"amount": 2,
"quantity": 2
}
]
}'{
"success": true,
"data": {
"id": 0,
"date": "string",
"statusId": 0,
"status": "string",
"statusPay": "string",
"counterparty": {
"id": "string",
"name": "string"
},
"documentSum": 0,
"currenciesId": "string",
"delivery": "string",
"paymentMethod": 0,
"items": [
{
"id": "string",
"name": "string",
"price": 0,
"quantity": 0,
"sum": 0
}
]
}
}