Skip to main content
POST
/
bookings
/
add-session
Add Session to Booking
curl --request POST \
  --url http://localhost:3000/api/bookings/add-session \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "dateTimestamp": 123,
  "startTime": 123,
  "endTime": 123,
  "location": {
    "address": "<string>",
    "city": "<string>",
    "state": "<string>",
    "country": "<string>",
    "latitude": 123,
    "longitude": 123
  },
  "sessionType": "CONSULTATION",
  "sessionPrice": "<string>",
  "sessionDepositFee": "<string>"
}
'
{
  "message": "<string>"
}

Body

application/json
id
string
required

ID of the booking to add session to

dateTimestamp
number
required

Timestamp for the session date

startTime
number
required

Session start time timestamp

endTime
number
required

Session end time timestamp

location
object
required

Location details for the session

sessionType
enum<string>
required

Type of session

Available options:
CONSULTATION,
TATTOO
sessionPrice
string

Price for the session

sessionDepositFee
string

Deposit fee for the session

Response

Session added successfully

message
string