post https://{defaultBusinessWebAddress}.spaces.nexudus.com/en/basket/createInvoice
Checks out a basket and creates an invoice for it if needed.
Example request
{
"proposalId":null,
"addNewContracts":false,
"basket":[
{
"Type":"booking",
"Booking":{
"FromTime":"2021-10-21T20:00:00.000Z",
"ToTime":"2021-10-21T21:00:00.000Z",
"ResourceId":1004584587,
"BookingVisitors":[
],
"BookingProducts":[
{
"ProductId":1006721716,
"Quantity":1
}
]
}
},
{
"type":"product",
"CoworkerProduct":{
"ProductId":1004438439,
"Quantity":"2",
"RegularCharge":false
}
}
],
"discountCode":null
}