Skip to content

Scheduling infrastructure for absolutely everyone.

update responses.location (#10356)

Syed Ali Shahbaz1851a3c1cf9a
diff --git a/apps/api/pages/api/bookings/_post.ts b/apps/api/pages/api/bookings/_post.ts
index 83643214f52..39e9fc69a5d 100644
--- a/apps/api/pages/api/bookings/_post.ts
+++ b/apps/api/pages/api/bookings/_post.ts
@@ -57,7 +57,14 @@ import { defaultResponder } from "@calcom/lib/server";
* format: email
* description: 'Attendee email address'
* location:
- * type: string
+ * type: object
+ * properties:
+ * optionValue:
+ * type: string
+ * description: 'Option value for the location'
+ * value:
+ * type: string
+ * description: 'The meeting URL, Phone number or Address'
* description: 'Meeting location'
* metadata:
* type: object