The group_customer graph is for booking each seat specified in the group_owner booking

When creating a group_customer booking you must reference the group_owner booking like so

--request POST \
     --url https://api.timekit.io/v2/bookings \
     --header 'Content-Type: application/json' \
     --user :live_api_key_7nzvc7wsBQQISLeFSVhROys9V1bUJ1z7
     --data '{
          "resource_id": "d187d6e0-d6cb-409a-ae60-45a8fd0ec879",
          "graph": "group_customer",
          "action": "create",
          "related": {
            "owner_booking_id": "a1ebdd9d-db42-4cd3-a915-0202a034284a"
          },
          "customer": {
            "name": "Marty McFly",
            "email": "[email protected]"
          }
        }'

Available actions

  • create :arrow-right: state: confirmed

When in confirmed state

  • complete :arrow-right: state: completed
  • cancel_by_customer :arrow-right: state: cancelled_by_customer
  • cancel_by_owner :arrow-right: state: cancelled_by_owner

Possible states

  • confirmed
  • completed
  • error
  • cancelled_by_customer
  • cancelled_by_owner