Migrated from Redmine #708 | Author: phuong tran
Status: Closed | Priority: High, I’m very impatient | Created: 2021-06-07
Hi,
I want to know how to get list term and add to my booking.
a had check in my page has call API https://maison21g.simplybook.asia/v2/client/terms
and this return
{“simplybook_terms”:“20200812”,“user_terms”:“11”,“cancellation_terms”:“3”,“promotion_letters”:“1”,“id”:“3757”,“accepted_simplybook_terms”:true,“accepted_user_terms”:true,“accepted_cancellation_terms”:true,“accepted_simplybook_user_terms”:false,“accepted_simplybook_user_privacy”:false,“accepted_promotion_letters”:true}
but this not have in API Documentation.
Can you help me to get this and how to add this to my booking. Thanks
My request booking
POST https://user-api.simplybook.asia/
“jsonrpc”:“2.0”,
“id”:0,
“method”:“book”,
“params”:[
1,
11,
“2021-06-22”,
“15:30:00”,
{
“name”:“Phuong Tran”,
“email":"aptran127@gmail.com”,
“phone”:“95558802”
},
{
“location_id”:4,
“products”:[
{
“id”:“1”,
“qty”:1
}
],
“handle_invoice”:true
},
2,
“”
]
}