Hi I followed the instructions on setting up an intent through the API. When I try to confirm the intent to create the booking I get this error:
"data": {
"code": "ycbm_api_http_invalid_payload",
"errors": [],
"httpCode": 400,
"httpStatusCode": 400,
"message": "Required payload is missing",
"status": "bad_request",
"type": "YcbmApiException"
},
Here is the last confirmed payload from the patch before
"data": {
"bookingId": null,
"createdAt": 1760032420000,
"id": "itt_71d471e7-be0b-4c2c-b8a2-c4064d636c49",
"intentStatus": "SETTING_UP",
"selections": {
"appointmentTypeIds": [
"jsid8936873"
],
"duration": null,
"form": [
{
"id": "EMAIL",
"value": "xxxx@hotmail.com"
},
{
"id": "FNAME",
"value": "Tom"
},
{
"id": "LNAME",
"value": "Sims"
}
],
"location": null,
"smsConsent": null,
"startsAt": 1760040000000,
"teamMemberId": null,
"timeZone": "America/Los_Angeles",
"units": null
}
},
I dont have teams enabled. When I try to TeamMemberID I get an error saying I can’t set it. I also cant set duration (no error) and when I try to set units I get “Units not editable”