PUT
/
v2
/
booking
/
lock
curl --request PUT \
  --url https://api.sonderplan.com/v2/booking/lock \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "lock_created_id": 23487,
  "lock_expire_date": 1647662376
}'
{
  "success": {
    "id": 1
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
integer
required

The ID of the booking to lock

Body

application/json

Booking lock information

Used to lock bookings whilst editing is in progress

Response

200
application/json

Successful Operation

The response is of type object.