[#62] how to add booking ids to cart

Migrated from Redmine #62 | Author: Abinash Sahoo
Status: Resolved | Priority: Immediate, there is BUG! | Created: 2017-11-02


any api available to add bookings id into cart ?

Dmytro Bondarev wrote:

use getBookingCart method

Abinash Sahoo wrote:

how to implement BookingCart features through api.
any api to add booking ids to cart ?
Request: client.getBookingCart ([4,5]);
Response :
{
“result”: {
“amount”: 0,
“currency”: “”,
“cart_id”: null,
“cart_hash”: null,
“status”: null
},
“id”: “4”,
“jsonrpc”: “2.0”
}

Dmytro Bondarev wrote:

So these bookings does not have service with price.

Abinash Sahoo wrote:

is there any api to add booking ids to cart like it is implemented in my booking website ?
getBookingCart for getting information inside cart,but how to add to that cart?

Dmytro Bondarev wrote:

The getBookingCart creates booking cart and returns you cart information.
Only bookings with services that have price will be added to cart.