Skip to content

Commit 5c2955b

Browse files
committed
Updated Bookings to allow booking for multiple products
1 parent 1313ae2 commit 5c2955b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

apiary.apib

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,7 @@ Note: Do html redirect to the password reset successful page and kill the active
13871387
"bathroom": 1,
13881388
"cupboard": 1
13891389
},
1390+
"products":[],
13901391
"statu": "pending",
13911392
"payments": [
13921393
{
@@ -1434,6 +1435,7 @@ Note: Do html redirect to the password reset successful page and kill the active
14341435
"bathroom": 1,
14351436
"cupboard": 1
14361437
},
1438+
"products":[],
14371439
"statu": "completed",
14381440
"payments": [
14391441
{
@@ -1481,6 +1483,7 @@ Note: Do html redirect to the password reset successful page and kill the active
14811483
"bathroom": 1,
14821484
"cupboard": 1
14831485
},
1486+
"products":[],
14841487
"statu": "canceled",
14851488
"payments": [
14861489
{
@@ -1528,6 +1531,7 @@ Note: Do html redirect to the password reset successful page and kill the active
15281531
"bathroom": 1,
15291532
"cupboard": 1
15301533
},
1534+
"products":[],
15311535
"statu": "ongoing",
15321536
"payments": [
15331537
{
@@ -1631,6 +1635,7 @@ Note: Do html redirect to the password reset successful page and kill the active
16311635
"bathroom": 1,
16321636
"cupboard": 1
16331637
},
1638+
"products":[],
16341639
"statu": "ongoing",
16351640
"payments": [
16361641
{
@@ -1851,6 +1856,7 @@ Note: Do html redirect to the password reset successful page and kill the active
18511856
"cupboard": 1
18521857
},
18531858
"statu": "pending",
1859+
"products":[],
18541860
"payments": [
18551861
{
18561862
"user_id": "2d3343ae567c8f8a0b9e8f",
@@ -1898,6 +1904,7 @@ Note: Do html redirect to the password reset successful page and kill the active
18981904
"cupboard": 1
18991905
},
19001906
"statu": "completed",
1907+
"products":[],
19011908
"payments": [
19021909
{
19031910
"user_id": "2d3343ae567c8f8a0b9e8f",
@@ -1945,6 +1952,7 @@ Note: Do html redirect to the password reset successful page and kill the active
19451952
"cupboard": 1
19461953
},
19471954
"statu": "canceled",
1955+
"products":[],
19481956
"payments": [
19491957
{
19501958
"user_id": "2d3343ae567c8f8a0b9e8f",
@@ -1992,6 +2000,7 @@ Note: Do html redirect to the password reset successful page and kill the active
19922000
"cupboard": 1
19932001
},
19942002
"statu": "ongoing",
2003+
"products":[],
19952004
"payments": [
19962005
{
19972006
"user_id": "2d3343ae567c8f8a0b9e8f",
@@ -2088,6 +2097,7 @@ Note: Do html redirect to the password reset successful page and kill the active
20882097
"bathroom": 1,
20892098
"cupboard": 1
20902099
},
2100+
"products":[],
20912101
"offline": true
20922102
}
20932103

@@ -2223,6 +2233,12 @@ Refunds should go to the customers wallet's balance, so he can use it for anothe
22232233

22242234
+ Parameters
22252235
+ booking_id: "10" (Number) - ID of booking to refund
2236+
2237+
+ Request (application/json)
2238+
2239+
{
2240+
"products": []
2241+
}
22262242

22272243
+ Response 200 (application/json)
22282244

0 commit comments

Comments
 (0)