개선(improvement) #2013
closed개선(improvement) #1921: * PROMOTION (Partner)
기능(Feature) #2258: [BE]_ PROMOTION (Partner)
[API] Update booking logic to apply new promotion schema
100%
Description
The schema of promotion is changed so need to update booking logic to apply new schema promotion
Files
Updated by calvin dev about 1 month ago
- Status changed from 신규(New) to 진행(Doing)
- Start date changed from 11/07/2025 to 02/03/2026
Updated by calvin dev about 1 month ago
- Due date set to 02/04/2026
- Status changed from 진행(Doing) to 완료(Done)
- % Done changed from 80 to 100
Updated by calvin dev about 1 month ago
- Status changed from 완료(Done) to QA test
- Assignee changed from calvin dev to Tracy Tran
Updated by Tracy Tran 25 days ago
- Assignee changed from Tracy Tran to Holden Dang
Updated by calvin dev 15 days ago
https://dev-api-ota-v2.ohmyhotel.com/channel/ota/v2.0/reservation/book
{
"nationalityCode": "KR",
"language": "KO",
"channelBookingCode": "T20230512001",
"contactPerson": {
"name": "LEESEONWOO",
"email": "lswTestMail@ohmyHotel.com",
"countryPhoneCode": "+82",
"mobileNo": "01012341234"
},
"hotelCode": 590053,
"checkInDate": "2023-09-01",
"checkOutDate": "2023-09-03",
"roomTypeCode": "D_114426",
"ratePlanCode": "273972^345926|2^1",
"freeBreakfastName": null,
"rooms": [
{
"roomNo": 1,
"guests": [
{
"lastName": "LEE",
"firstName": "SEONWOO",
"gender": "M"
},
{
"lastName": "KIM",
"firstName": "YUNSOO",
"gender": "F"
},
{
"lastName": "LEE",
"firstName": "HYOEN",
"gender": "F",
"birthday": "2018-05-01"
}
]
}
],
"requests": [
{
"code": "BRQ03",
"lateCheckIn": "20:00"
},
{
"code\"": "BRQ99",
"comment": "We need alergy free room"
}
],
"rateType": "standard_rate",
"totalNetAmount": 171578
}
Please change to booking information.
Updated by Holden Dang 6 days ago
- File picture184-1.png picture184-1.png added
- File picture184-2.png picture184-2.png added
Test cases:
1. Success Cases:
1.1 Basic Booking - Single Room Single Adult => Passed
1.2 Booking - Single Room Multiple Adults => Passed