Order Information
https://api.worldota.net/api/b2b/v3/hotel/order/info/
Retrieving a created order’s information using the partner’s booking identifier.
This is relevant only for those reservations that were initially successfully created (order/status request returned a result.status key with an OK
value). It is recommended to have a time gap between receiving the booking confirmation and requesting the order information, due to ETG internal synchronization processes.
Request example
curl --location 'https://api.worldota.net/api/b2b/v3/hotel/order/info/' \
--header 'Content-Type: application/json' \
--data '{
"ordering": {
"ordering_type": "desc",
"ordering_by": "created_at"
},
"pagination": {
"page_size": "10",
"page_number": "1"
},
"search": {
"created_at": {
"from_date": "2018-12-05T00:00"
}
},
"language":"en"
}'
Request body
Arrangement in a sequence.
The ascending or descending ordering type.
- The possible values:
asc
.desc
.
Searching for something.
Status of the reservation.
- The possible values:
cancelled
.completed
.failed
.noshow
.prepending
.rejected
.
Response
Orders information.
Amount of the order in case it has been completed.
Amount of the cancellation fee in case the order has been cancelled (not free of charge).
The currency code in the ISO 4217 format.
- The length is
3
characters. - The possible values:
AED
.AFN
.ALL
.AMD
.ANG
.AOA
.ARS
.AUD
.AWG
.AZN
.BAM
.BBD
.BDT
.BGN
.BHD
.BIF
.BMD
.BND
.BOB
.BOV
.BRL
.BSD
.BTN
.BWP
.BYR
.BYN
.BZD
.CAD
.CDF
.CHE
.CHF
.CHW
.CLF
.CLP
.CNY
.COP
.COU
.CRC
.CUC
.CUP
.CVE
.CZK
.DJF
.DKK
.DOP
.DZD
.EGP
.ERN
.ETB
.EUR
.FJD
.FKP
.GBP
.GEL
.GHS
.GIP
.GMD
.GNF
.GTQ
.GYD
.HKD
.HNL
.HRK
.HTG
.HUF
.IDR
.ILS
.INR
.IQD
.IRR
.ISK
.JMD
.JOD
.JPY
.KES
.KGS
.KHR
.KMF
.KPW
.KRW
.KWD
.KYD
.KZT
.LAK
.LBP
.LKR
.LRD
.LSL
.LTL
.LVL
.LYD
.MAD
.MDL
.MGA
.MKD
.MMK
.MNT
.MOP
.MRO
.MUR
.MVR
.MWK
.MXN
.MXV
.MYR
.MZN
.NAD
.NGN
.NIO
.NOK
.NPR
.NZD
.OMR
.PAB
.PEN
.PGK
.PHP
.PKR
.PLN
.PYG
.QAR
.RON
.RSD
.RUB
.RWF
.SAR
.SBD
.SCR
.SDG
.SEK
.SGD
.SHP
.SLL
.SOS
.SRD
.SSP
.STD
.SVC
.SYP
.SZL
.THB
.TJS
.TMT
.TND
.TOP
.TRY
.TTD
.TWD
.TZS
.UAH
.UGX
.USD
.USN
.USS
.UYI
.UYU
.UZS
.VEF
.VND
.VUV
.WST
.XAF
.XAG
.XAU
.XBA
.XBB
.XBC
.XBD
.XCD
.XDR
.XFU
.XOF
.XPD
.XPF
.XPT
.XSU
.XTS
.XUA
.YER
.ZAR
.ZMW
.ZWL
.
Amount of VAT of the order in case it has been completed.
Amount of VAT of the cancellation fee in case it has been cancelled (not free of charge).
The currency code in the ISO 4217 format.
- The length is
3
characters. - The possible values:
AED
.AFN
.ALL
.AMD
.ANG
.AOA
.ARS
.AUD
.AWG
.AZN
.BAM
.BBD
.BDT
.BGN
.BHD
.BIF
.BMD
.BND
.BOB
.BOV
.BRL
.BSD
.BTN
.BWP
.BYR
.BYN
.BZD
.CAD
.CDF
.CHE
.CHF
.CHW
.CLF
.CLP
.CNY
.COP
.COU
.CRC
.CUC
.CUP
.CVE
.CZK
.DJF
.DKK
.DOP
.DZD
.EGP
.ERN
.ETB
.EUR
.FJD
.FKP
.GBP
.GEL
.GHS
.GIP
.GMD
.GNF
.GTQ
.GYD
.HKD
.HNL
.HRK
.HTG
.HUF
.IDR
.ILS
.INR
.IQD
.IRR
.ISK
.JMD
.JOD
.JPY
.KES
.KGS
.KHR
.KMF
.KPW
.KRW
.KWD
.KYD
.KZT
.LAK
.LBP
.LKR
.LRD
.LSL
.LTL
.LVL
.LYD
.MAD
.MDL
.MGA
.MKD
.MMK
.MNT
.MOP
.MRO
.MUR
.MVR
.MWK
.MXN
.MXV
.MYR
.MZN
.NAD
.NGN
.NIO
.NOK
.NPR
.NZD
.OMR
.PAB
.PEN
.PGK
.PHP
.PKR
.PLN
.PYG
.QAR
.RON
.RSD
.RUB
.RWF
.SAR
.SBD
.SCR
.SDG
.SEK
.SGD
.SHP
.SLL
.SOS
.SRD
.SSP
.STD
.SVC
.SYP
.SZL
.THB
.TJS
.TMT
.TND
.TOP
.TRY
.TTD
.TWD
.TZS
.UAH
.UGX
.USD
.USN
.USS
.UYI
.UYU
.UZS
.VEF
.VND
.VUV
.WST
.XAF
.XAG
.XAU
.XBA
.XBB
.XBC
.XBD
.XCD
.XDR
.XFU
.XOF
.XPD
.XPF
.XPT
.XSU
.XTS
.XUA
.YER
.ZAR
.ZMW
.ZWL
.
Refunded amount (if the order is cancelled).
The currency code in the ISO 4217 format.
- The length is
3
characters. - The possible values:
AED
.AFN
.ALL
.AMD
.ANG
.AOA
.ARS
.AUD
.AWG
.AZN
.BAM
.BBD
.BDT
.BGN
.BHD
.BIF
.BMD
.BND
.BOB
.BOV
.BRL
.BSD
.BTN
.BWP
.BYR
.BYN
.BZD
.CAD
.CDF
.CHE
.CHF
.CHW
.CLF
.CLP
.CNY
.COP
.COU
.CRC
.CUC
.CUP
.CVE
.CZK
.DJF
.DKK
.DOP
.DZD
.EGP
.ERN
.ETB
.EUR
.FJD
.FKP
.GBP
.GEL
.GHS
.GIP
.GMD
.GNF
.GTQ
.GYD
.HKD
.HNL
.HRK
.HTG
.HUF
.IDR
.ILS
.INR
.IQD
.IRR
.ISK
.JMD
.JOD
.JPY
.KES
.KGS
.KHR
.KMF
.KPW
.KRW
.KWD
.KYD
.KZT
.LAK
.LBP
.LKR
.LRD
.LSL
.LTL
.LVL
.LYD
.MAD
.MDL
.MGA
.MKD
.MMK
.MNT
.MOP
.MRO
.MUR
.MVR
.MWK
.MXN
.MXV
.MYR
.MZN
.NAD
.NGN
.NIO
.NOK
.NPR
.NZD
.OMR
.PAB
.PEN
.PGK
.PHP
.PKR
.PLN
.PYG
.QAR
.RON
.RSD
.RUB
.RWF
.SAR
.SBD
.SCR
.SDG
.SEK
.SGD
.S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BC
.XBD
.XCD
.XDR
.XFU
.XOF
.XPD
.XPF
.XPT
.XSU
.XTS
.XUA
.YER
.ZAR
.ZMW
.ZWL
.
Cancellation information of the reservation.
Date and time before which you could cancell the reservation free of charge.
Timezone is UTC+0.
May return null - no free cancellation.
Cancellation policies’ breakdown by time periods.
Date when this particular cancellation policy expires.
Timezone is UTC+0.
null
means all the time from start_at
till check-in.
If start_at = end_at = null
it means that this particular cancellation policy has no time restrictions / is in effect all the time.
Penalty information.
The currency code in the ISO 4217 format.
- The length is
3
characters. - The possible values:
AED
.AFN
.ALL
.AMD
.ANG
.AOA
.ARS
.AUD
.AWG
.AZN
.BAM
.BBD
.BDT
.BGN
.BHD
.BIF
.BMD
.BND
.BOB
.BOV
.BRL
.BSD
.BTN
.BWP
.BYR
.BYN
.BZD
.CAD
.CDF
.CHE
.CHF
.CHW
.CLF
.CLP
.CNY
.COP
.COU
.CRC
.CUC
.CUP
.CVE
.CZK
.DJF
.DKK
.DOP
.DZD
.EGP
.ERN
.ETB
.EUR
.FJD
.FKP
.GBP
.GEL
.GHS
.GIP
.GMD
.GNF
.GTQ
.GYD
.HKD
.HNL
.HRK
.HTG
.HUF
.IDR
.ILS
.INR
.IQD
.IRR
.ISK
.JMD
.JOD
.JPY
.KES
.KGS
.KHR
.KMF
.KPW
.KRW
.KWD
.KYD
.KZT
.LAK
.LBP
.LKR
.LRD
.LSL
.LTL
.LVL
.LYD
.MAD
.MDL
.MGA
.MKD
.MMK
.MNT
.MOP
.MRO
.MUR
.MVR
.MWK
.MXN
.MXV
.MYR
.MZN
.NAD
.NGN
.NIO
.NOK
.NPR
.NZD
.OMR
.PAB
.PEN
.PGK
.PHP
.PKR
.PLN
.PYG
.QAR
.RON
.RSD
.RUB
.RWF
.SAR
.SBD
.SCR
.SDG
.SEK
.SGD
.SHP
.SLL
.SOS
.SRD
.SSP
.STD
.SVC
.SYP
.SZL
.THB
.TJS
.TMT
.TND
.TOP
.TRY
.TTD
.TWD
.TZS
.UAH
.UGX
.USD
.USN
.USS
.UYI
.UYU
.UZS
.VEF
.VND
.VUV
.WST
.XAF
.XAG
.XAU
.XBA
.XBB
.XBC
.XBD
.XCD
.XDR
.XFU
.XOF
.XPD
.XPF
.XPT
.XSU
.XTS
.XUA
.YER
.ZAR
.ZMW
.ZWL
.
The cancellation information. Has the null
value if the commission type has the net
or gross
value.
Has the object value if you:
- Have a net commission model.
- Have indicated a non-zero commission in your account.
The deposit information of the order. Has a value if the rate payment_types.type
field has the hotel
value.
Information about the hotel booked.
The unique hotel identifier.
- Either this field or the
hid
field is required.
The most preferred hotel ID.
- Either this field or the
id
field is required. - The maximum length is
7
characters.
Identifier of the booking made by the partner (identifier created at Emerging Travel Group).
- The minimum value is
1
.
The order type.
- The possible values:
avia
.car
.hotel
.railway
.transfer
.upsell
.
Partner’s unique booking identifier and booking comment.
Identifier of the booking made by the partner (identifier created at Emerging Travel Group).
- The minimum value is
1
.
Information about the room and the guests.
Bed types.
There is a request which returns all available beds and definitions (bedding key):
Type (adult / child), number of guests and names.
Name of guests.
Meal type.
There is a request which returns all available meals and definitions (meals key):
Source from which the booking was made.
- The minimum length is
1
character.
Status of the reservation.
- The possible values:
cancelled
.completed
.failed
.noshow
.prepending
.rejected
.
Information about the taxes.
Amount of the tax.
The currency code in the ISO 4217 format.
- The length is
3
characters. - The possible values:
AED
.AFN
.ALL
.AMD
.ANG
.AOA
.ARS
.AUD
.AWG
.AZN
.BAM
.BBD
.BDT
.BGN
.BHD
.BIF
.BMD
.BND
.BOB
.BOV
.BRL
.BSD
.BTN
.BWP
.BYR
.BYN
.BZD
.CAD
.CDF
.CHE
.CHF
.CHW
.CLF
.CLP
.CNY
.COP
.COU
.CRC
.CUC
.CUP
.CVE
.CZK
.DJF
.DKK
.DOP
.DZD
.EGP
.ERN
.ETB
.EUR
.FJD
.FKP
.GBP
.GEL
.GHS
.GIP
.GMD
.GNF
.GTQ
.GYD
.HKD
.HNL
.HRK
.HTG
.HUF
.IDR
.ILS
.INR
.IQD
.IRR
.ISK
.JMD
.JOD
.JPY
.KES
.KGS
.KHR
.KMF
.KPW
.KRW
.KWD
.KYD
.KZT
.LAK
.LBP
.LKR
.LRD
.LSL
.LTL
.LVL
.LYD
.MAD
.MDL
.MGA
.MKD
.MMK
.MNT
.MOP
.MRO
.MUR
.MVR
.MWK
.MXN
.MXV
.MYR
.MZN
.NAD
.NGN
.NIO
.NOK
.NPR
.NZD
.OMR
.PAB
.PEN
.PGK
.PHP
.PKR
.PLN
.PYG
.QAR
.RON
.RSD
.RUB
.RWF
.SAR
.SBD
.SCR
.SDG
.SEK
.SGD
.SHP
.SLL
.SOS
.SRD
.SSP
.STD
.SVC
.SYP
.SZL
.THB
.TJS
.TMT
.TND
.TOP
.TRY
.TTD
.TWD
.TZS
.UAH
.UGX
.USD
.USN
.USS
.UYI
.UYU
.UZS
.VEF
.VND
.VUV
.WST
.XAF
.XAG
.XAU
.XBA
.XBB
.XBC
.XBD
.XCD
.XDR
.XFU
.XOF
.XPD
.XPF
.XPT
.XSU
.XTS
.XUA
.YER
.ZAR
.ZMW
.ZWL
.
Name of the tax.
There is a request which returns all available taxes and definitions (taxes key):
Amount of VAT of the order in case it has been completed.
Amount of VAT of the cancellation fee in case it has been cancelled (not free of charge).
The currency code in the ISO 4217 format.
- The length is
3
characters. - The possible values:
AED
.AFN
.ALL
.AMD
.ANG
.AOA
.ARS
.AUD
.AWG
.AZN
.BAM
.BBD
.BDT
.BGN
.BHD
.BIF
.BMD
.BND
.BOB
.BOV
.BRL
.BSD
.BTN
.BWP
.BYR
.BYN
.BZD
.CAD
.CDF
.CHE
.CHF
.CHW
.CLF
.CLP
.CNY
.COP
.COU
.CRC
.CUC
.CUP
.CVE
.CZK
.DJF
.DKK
.DOP
.DZD
.EGP
.ERN
.ETB
.EUR
.FJD
.FKP
.GBP
.GEL
.GHS
.GIP
.GMD
.GNF
.GTQ
.GYD
.HKD
.HNL
.HRK
.HTG
.HUF
.IDR
.ILS
.INR
.IQD
.IRR
.ISK
.JMD
.JOD
.JPY
.KES
.KGS
.KHR
.KMF
.KPW
.KRW
.KWD
.KYD
.KZT
.LAK
.LBP
.LKR
.LRD
.LSL
.LTL
.LVL
.LYD
.MAD
.MDL
.MGA
.MKD
.MMK
.MNT
.MOP
.MRO
.MUR
.MVR
.MWK
.MXN
.MXV
.MYR
.MZN
.NAD
.NGN
.NIO
.NOK
.NPR
.NZD
.OMR
.PAB
.PEN
.PGK
.PHP
.PKR
.PLN
.PYG
.QAR
.RON
.RSD
.RUB
.RWF
.SAR
.SBD
.SCR
.SDG
.SEK
.SGD
.SHP
.SLL
.SOS
.SRD
.SSP
.STD
.SVC
.SYP
.SZL
.THB
.TJS
.TMT
.TND
.TOP
.TRY
.TTD
.TWD
.TZS
.UAH
.UGX
.USD
.USN
.USS
.UYI
.UYU
.UZS
.VEF
.VND
.VUV
.WST
.XAF
.XAG
.XAU
.XBA
.XBB
.XBC
.XBD
.XCD
.XDR
.XFU
.XOF
.XPD
.XPF
.XPT
.XSU
.XTS
.XUA
.YER
.ZAR
.ZMW
.ZWL
.
Amount of the order with all upsells in case it has been completed.
Amount of the cancellation fee in case it has been cancelled (not free of charge).
The currency code in the ISO 4217 format.
- The length is
3
characters. - The possible values:
AED
.AFN
.ALL
.AMD
.ANG
.AOA
.ARS
.AUD
.AWG
.AZN
.BAM
.BBD
.BDT
.BGN
.BHD
.BIF
.BMD
.BND
.BOB
.BOV
.BRL
.BSD
.BTN
.BWP
.BYR
.BYN
.BZD
.CAD
.CDF
.CHE
.CHF
.CHW
.CLF
.CLP
.CNY
.COP
.COU
.CRC
.CUC
.CUP
.CVE
.CZK
.DJF
.DKK
.DOP
.DZD
.EGP
.ERN
.ETB
.EUR
.FJD
.FKP
.GBP
.GEL
.GHS
.GIP
.GMD
.GNF
.GTQ
.GYD
.HKD
.HNL
.HRK
.HTG
.HUF
.IDR
.ILS
.INR
.IQD
.IRR
.ISK
.JMD
.JOD
.JPY
.KES
.KGS
.KHR
.KMF
.KPW
.KRW
.KWD
.KYD
.KZT
.LAK
.LBP
.LKR
.LRD
.LSL
.LTL
.LVL
.LYD
.MAD
.MDL
.MGA
.MKD
.MMK
.MNT
.MOP
.MRO
.MUR
.MVR
.MWK
.MXN
.MXV
.MYR
.MZN
.NAD
.NGN
.NIO
.NOK
.NPR
.NZD
.OMR
.PAB
.PEN
.PGK
.PHP
.PKR
.PLN
.PYG
.QAR
.RON
.RSD
.RUB
.RWF
.SAR
.SBD
.SCR
.SDG
.SEK
.SGD
.SHP
.SLL
.SOS
.SRD
.SSP
.STD
.SVC
.SYP
.SZL
.THB
.TJS
.TMT
.TND
.TOP
.TRY
.TTD
.TWD
.TZS
.UAH
.UGX
.USD
.USN
.USS
.UYI
.UYU
.UZS
.VEF
.VND
.VUV
.WST
.XAF
.XAG
.XAU
.XBA
.XBB
.XBC
.XBD
.XCD
.XDR
.XFU
.XOF
.XPD
.XPF
.XPT
.XSU
.XTS
.XUA
.YER
.ZAR
.ZMW
.ZWL
.
Order payment information.
User’s booking information.
Response example
{
"data": {
"current_page_number": 1,
"orders": [
{
"agreement_number": "B2B-12980/1",
"amount_payable": {
"amount": "92.73",
"currency_code": "EUR"
},
"amount_payable_vat": {
"amount": "0.00",
"currency_code": "EUR"
},
"amount_refunded": {
"amount": "0",
"currency_code": "EUR"
},
"amount_sell": {
"amount": "92.73",
"currency_code": "EUR"
},
"amount_sell_b2b2c": {
"amount": "200.00",
"currency_code": "EUR"
},
"amount_sell_b2b2c_commission": {
"amount": "16.00",
"currency_code": "EUR"
},
"api_auth_key_id": 1304,
"cancellation_info": {
"free_cancellation_before": "2018-12-05T04:59:00",
"policies": [
{
"end_at": "2018-12-05T04:59:00",
"penalty": {
"amount": "0",
"amount_info": {
"amount_commission": "0",
"amount_gross": "0",
"amount_net": "0"
},
"currency_code": "EUR"
},
"start_at": null
},
{
"end_at": "2018-12-06T00:00:00",
"penalty": {
"amount": "10",
"amount_info": {
"amount_commission": "0.2",
"amount_gross": "2",
"amount_net": "1.8"
},
"currency_code": "EUR"
},
"start_at": "2018-12-05T04:59:00"
},
{
"end_at": null,
"penalty": {
"amount": "92.73",
"currency_code": "EUR"
},
"start_at": "2018-12-06T00:00:00"
}
]
},
"cancelled_at": null,
"checkin_at": "2018-12-06",
"checkout_at": "2018-12-17",
"contract_slug": "test.b2b.1234",
"created_at": "2018-11-27T10:44:48",
"has_tickets": true,
"hotel_data": {
"id": "test_hotel",
"order_id": null
},
"invoice_id": "12980-00257",
"is_checked": true,
"meta_data": {
"voucher_order_comment": null
},
"modified_at": "2018-12-17T01:58:58",
"nights": 11,
"order_id": 538397516,
"order_type": "hotel",
"partner_data": {
"order_comment": "partner_comment",
"order_id": "upsellprod1"
},
"payment_data": {
"invoice_id": 548878,
"paid_at": "2018-11-29",
"payment_by": null,
"payment_due": "2018-12-05",
"payment_pending": "2018-11-27",
"payment_type": "deposit"
},
"roomnights": 11,
"rooms_data": [
{
"bedding_name": [
"nobedding"
],
"guest_data": {
"adults_number": 2,
"children_number": 0,
"guests": [
{
"age": null,
"first_name": "Sema",
"first_name_original": "Сёма",
"is_child": false,
"last_name": "Johnson",
"last_name_original": "Джонсон"
}
]
},
"meal_name": "nomeal",
"room_idx": 0,
"room_name": "Superior Double Room (Double bed)"
}
],
"source": "b2b-api",
"status": "completed",
"supplier_data": {
"name": "Extranet",
"order_id": "387278334"
},
"taxes": [
{
"amount_tax": {
"amount": "17.12",
"currency_code": "EUR"
},
"is_included": true,
"name": "vat"
}
],
"upsells": [
{
"amount_payable": {
"amount": "4.55",
"currency_code": "EUR"
},
"amount_payable_vat": {
"amount": "0",
"currency_code": "EUR"
},
"amount_refunded": {
"amount": "0.00",
"currency_code": "EUR"
},
"amount_sell": {
"amount": "4.55",
"currency_code": "EUR"
},
"amount_sell_b2b2c": {
"amount": "6.00",
"currency_code": "EUR"
},
"cancelled_at": null,
"created_at": "2018-11-27T11:24:00",
"free_cancellation_before": "2018-12-05T04:59:00",
"info": {
"checkout_time": null
},
"order_id": 725262997,
"order_type": "upsell",
"payment_data": {
"invoice_id": 548878,
"paid_at": "2018-11-29",
"payment_by": null,
"payment_due": "2018-12-05",
"payment_pending": "2018-11-27",
"payment_type": "deposit"
},
"status": "completed",
"type": "late_checkout"
},
{
"amount_payable": {
"amount": "3.55",
"currency_code": "EUR"
},
"amount_payable_vat": {
"amount": "0",
"currency_code": "EUR"
},
"amount_refunded": {
"amount": "1.00",
"currency_code": "EUR"
},
"amount_sell": {
"amount": "4.55",
"currency_code": "EUR"
},
"amount_sell_b2b2c": {
"amount": "4.00",
"currency_code": "EUR"
},
"cancelled_at": null,
"created_at": "2018-11-27T11:24:00",
"deposit": {
"amount": "135.00",
"currency_code": "EUR",
"is_refundable": false
},
"free_cancellation_before": "2018-12-05T04:59:00",
"info": {
"checkin_time": "2018-12-17T00:00:00Z"
},
"order_id": 609368724,
"order_type": "upsell",
"payment_data": {
"invoice_id": 548300,
"paid_at": "2018-11-27",
"payment_by": null,
"payment_due": "2018-12-05",
"payment_pending": "2018-11-27",
"payment_type": "deposit"
},
"status": "cancelled",
"type": "early_checkin"
}
],
"user_data": {
"email": "[email protected]"
}
}
],
"total_orders": 1,
"total_pages": 1
},
"debug": null,
"error": null,
"status": "ok"
}
Errors’ description
page_out_of_range
In case you request a higher page than you have