Jicoo Developer Potal
  1. Booking
Jicoo Developer Potal
  • Create powerful apps with Jicoo's API
  • Quick start
  • Authentication
  • Errors
  • Versioning
  • Types
  • API Reference Overview
  • Guide
    • How to use webhook
    • How to use Account integration
  • Guide(Japanese)
    • アカウント連携の使い方
    • Webhookの使い方
    • ホストの優先度を更新する方法
  • API Reference
    • Jicoo API
    • Webhook Schema
      • Webhook schema
      • event property
      • createdAt property
      • object property
      • contact property
      • answers property
      • answers items property
      • tracking property
    • Booking
      • List Bookings
        GET
      • Get Booking
        GET
      • Cancel Booking
        POST
      • Reschedule Booking
        POST
      • Create Booking
        POST
      • Update Booking
        PATCH
      • Get Booking Contacts
        GET
    • Schedule
      • Update Schedule
      • Create Schedule
      • List Schedules
      • Delete Schedule
    • Availability
      • List User Availability Calendars
      • Get User Availability Calendar
    • Oraganization
      • User
        • List Organization Users
        • Delete Organization User
        • Get Organization User
        • Update Organization User
      • Invitation
        • Create Organiztion Invitation
        • List Organization Invitations
        • Get Organization Invitation
        • Delete Organiztion Invitation
      • Get Organization Team
    • Event Types
      • Get Event Type
      • List Event Types
      • List Event Type Hosts
      • Get Event Type Available Schedules
      • Account Integration
      • Update Event Type Host
      • Delete Event Type Host
      • Create Event Type Host
  1. Booking

Update Booking

PATCH
/v1/bookings/{uid}
The Update Booking API provides users with the ability to modify specific details of an existing booking. By passing the uid along with the fields to be updated, this API allows changes such as updating name, description, date and time, hosts or additional infomations. The system only updates the specified fields, leaving the rest of the booking information unchanged.

Request

Authorization
Add parameter in header
X-Jicoo-Api-Key
Example:
X-Jicoo-Api-Key: ********************
Path Params

Body Params application/json

Example
{
    "name": "string",
    "description": "string",
    "timeZone": "string",
    "startedAt": "2019-08-24T14:15:22Z",
    "endedAt": "2019-08-24T14:15:22Z",
    "hosts": [
        {
            "userId": "string",
            "role": "admin"
        }
    ],
    "priority": "low",
    "updateMessage": "string",
    "isSendUpdates": true
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/v1/bookings/' \
--header 'Content-Type: application/json' \
--header 'X-Jicoo-Api-Key;' \
--data-raw '{
    "name": "string",
    "description": "string",
    "timeZone": "string",
    "startedAt": "2019-08-24T14:15:22Z",
    "endedAt": "2019-08-24T14:15:22Z",
    "hosts": [
        {
            "userId": "string",
            "role": "admin"
        }
    ],
    "priority": "low",
    "updateMessage": "string",
    "isSendUpdates": true
}'

Responses

🟢200Success
application/json
Body

Example
{
    "data": {
        "uid": "string",
        "eventTypeId": "string",
        "name": "string",
        "description": "string",
        "status": "request",
        "startedAt": "2019-08-24T14:15:22Z",
        "endedAt": "2019-08-24T14:15:22Z",
        "locationId": "inPerson",
        "url": "string",
        "phoneNumber": "string",
        "address": "string",
        "customLocation": "string",
        "access": "string",
        "timeZone": "string",
        "priority": "low",
        "cancelReason": "string",
        "cancelledAt": "2019-08-24T14:15:22Z",
        "cancelledBy": "host",
        "hosts": [
            {
                "userId": "string",
                "role": "admin"
            }
        ],
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z"
    }
}
Modified at 2024-08-28 09:25:07
Previous
Create Booking
Next
Get Booking Contacts
Built with