ETS API
  1. AVIA
ETS API
  • Try it and Run in ApiDog
  • AVIA API
  • AVIA Flows example
  • HOTELS API
  • AVIA
    • 1 REQ B2B Login
      POST
    • 1 REQ B2B Login Token
      POST
    • 1 REQ B2C Login
      GET
    • 2A Search Direct flight
      POST
    • 2B Search Connecting flight
      POST
    • 2C Search Round trip
      POST
    • 3 Schedule - Amadeus optional
      POST
    • 4 Offers request
      GET
    • 4B Smart Offer Request optional
      GET
    • 5 Documents types for offer
      GET
    • 6 Offer info UPD LATER
      GET
    • 7 Availability of Offer
      GET
    • 8 OPT Available Services
      GET
    • 9 OPT Select services
      POST
    • 10 Create Order
      POST
    • 11 Split Order
      PATCH
    • 12 Order payment
      POST
    • 13 Сheckout status
      GET
    • 14 Refund order
      GET
    • 15 Get order info
      GET
    • 16 Print E-Tiket
      GET
    • 17 Receiving a cancellation fee
      GET
    • 18 Cancel Order
      GET
    • 19 Get airports
      GET
    • 20 Get cities
      GET
    • 21 Get countries
      GET
  • HOTELS
    • REQUIRED
      • 1 REQ B2B Login
      • 1 REQ B2C Login
      • 2 REQ Destination
      • 2 REQ Search
      • 3 REQ Receiving found hotels
      • 4 REQ Getting a Hotel Offer
      • 5 REQ Create order
      • 6 REQ Cancel order
    • OPTIONAL
      • 1 REQ B2B Login
      • 1 REQ B2C Login
      • 2 REQ Search
      • 3 OPT Destination point info
      • 4 OPT List of popular destinations Copy
      • 5 OPT List of filtered destinations
      • 6 OPT Group guide
      • 7 OPT Getting information on possible hotels
      • 8 OPT Getting the list of currencies
      • 9 REQ Receiving found hotels
      • 10 REQ Getting a Hotel Offer
      • 11 OPT Cancel-policies
      • 12 OPT Account number and info
      • 13 OPT Receiving information on the hotel offer
      • 14 OPT Receive detailed information about the cost of an offer
      • 15 REQ Create order
      • 16 OPT Receive hotel services
  1. AVIA

11 Split Order

PATCH
{{AVIA_URL}}/api/air/orders/{{order_id}}/split

Patch Order Split#

This endpoint is used to split an existing order identified by the order_id.

Request Body#

order_id: The ID of the order to be split.
book_id: The ID of the book related to the order.
pax_id: The ID of the passenger related to the order.

Response#

status: The status of the request.
message: Additional information or error message.
Example:
Request:
{
  "order_id": {number},
  "book_id": {number},
  "pax_id": {number}
}
Response:
{
  "status": "{string}",
  "message": "{string}"
}

Request

Header Params

Body Params application/json

Examples

Responses

🟢2007 Split Order
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PATCH 'https://stage-api.etm-system.ru/api/air/orders/{{order_id}}/split' \
--header 'Accept: application/json' \
--header 'Cookie: etmsessid=8Pwz9vY4oXUDj7ojfR5u1VdXsMW6xOVYosNxo08d' \
--header 'Content-Type: application/json' \
--data-raw '{
    "order_id": {{order_id}},
    "book_id": {{book_id}},
    "pax_id": {{pax_id}}
}'
Response Response Example
{
    "status": "ok",
    "message": "Бронь успешно создана. Номер брони -  NHXPGN. Пожалуйста, проверьте стоимость билета обоих заказов."
}
Modified at 2025-08-18 09:39:21
Previous
10 Create Order
Next
12 Order payment
Built with