## Query order by orderNumber
>接口说明
根据订单号查询订单
>接口参数说明
~~~[api]
get:/b2c/order/{orderNo}
*orderNo#orderNo
<<<
success
{
"status": 0,
"msg": "success",
"orderNo": "3501F7E9",
"pnrCode": "OGG3CX",
"orderStatus": "CREATED",
"airlinePnrCode": "PD:JF2YNB",
"createDateTime": "2018-11-06T12:47:30",
"recommendation": {
"data": "1c473f3be19811e8a78b558f89b6d9d9-1eb8dbebe19811e8a06e55ca5e1cca8f",
"settlementCurrency": "CAD",
"settlementPrice": {
"currency": "CAD",
"adultPrice": 318.57,
"adultTax": 96.87,
"childPrice": 0,
"childTax": 0,
"infantPrice": 0,
"infantTax": 0
},
"validatingCarrier": "PD",
"itineraries": [
{
"departureCode": "YMQ",
"arrivalCode": "YTO",
"duration": 70,
"segments": [
{
"carrier": "PD",
"flightNumber": "PD450",
"departureAirport": "YUL",
"departureTime": "201811150640",
"arrivalAirport": "YTZ",
"arrivalTime": "201811150750",
"codeShare": false,
"cabin": "E",
"bookingClass": "K",
"aircraftCode": "DH4",
"seatCount": "4",
"duration": 70,
"basicEconomy": false
}
]
}
],
"freeBaggagePieces": 0,
"freeBaggageWeight": -1,
"stayDays": -1,
"uniqueKey": "PD450-201811150640-E",
"rating": 0
},
"contact": {
"name": "fdsafdsa/fdsa",
"email": "fdsagsdf@gmail.com",
"mobile": "1:4324324234"
},
"passengers": [
{
"name": "fdsa fdsa",
"ageType": 0,
"gender": "M",
"nationality": "CN",
"birthday": "19920403",
"ticketNumber": "",
"baseFare": 221.7,
"tax": 96.87,
"insurancePrice": 0,
"insuranceTax": 0
}
],
"paymentCurrency": "CAD",
"paymentFlightPrice": 318.57,
"insurancePrice": 0,
"departureCode": "YMQ",
"departureName": "Montreal",
"arrivalCode": "YTO",
"arrivalName": "Toronto",
"language": "en",
"coupon": {
"couponPrice": 0
}
}
<<<
error
{
"status": 4001,
"msg": "No Orders found."
}
~~~
>接口请求示例
~~~
{
/b2c/orders/930EFE1D
}
~~~