Update a guest list entry
Módulo Advancing
PATCH/guest-list-entries/{id}guestListEntries.update
A guest on a project's guest list with plus-ones. Requested guests are approved or declined by someone with review authority who did not request them, then checked in at the door. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.
- Requiere la capacidad advancing.rider.write.
- Alcances de OAuth: advancing.
- Envía If-Match con el ETag que leíste. Una etiqueta desactualizada devuelve 412; si falta, devuelve 428.
- Estados de error: 400, 401, 404, 412, 422, 428, 429. Los errores son detalles de problema RFC 9457.
Parámetros de ruta y de consulta
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| id | string (uuid) | Sí | Identifier of the guest list entry. |
Cuerpo de la solicitud: GuestListEntryUpdate
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| scope_node_id | string (uuid) | null | No | Identifier of the show or other scope node of the same project. |
| guest_name | string | No | Name the guest gives at the door.Restricciones: length 1 to 200 |
| plus_ones | integer | No | Additional guests admitted with this guest, 0 to 20.Restricciones: range 0 to any |
| note | string | null | No | Notes for the door.Restricciones: length 1 to 500 |
{
"scope_node_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"guest_name": "Jordan Pike",
"plus_ones": 1,
"note": "Side stage."
}Respuesta 200: GuestListEntry
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| id | string (uuid) | Sí | Identifier of the guest list entry. |
| org_id | string (uuid) | Sí | Identifier of the owning organization, derived from the parent row and never accepted from the caller. |
| created_at | string (date-time) | Sí | When the row was created. |
| created_by | string (uuid) | null | Sí | Identifier of the person who created the row. |
| updated_at | string (date-time) | Sí | When the row was last updated. |
| updated_by | string (uuid) | null | Sí | Identifier of the person who last updated the row. |
| project_id | string (uuid) | Sí | Identifier of the project. |
| scope_node_id | string (uuid) | null | Sí | Identifier of the show or other scope node of the same project. |
| person_id | string (uuid) | null | Sí | Identifier of the person whose list the guest is on. |
| counterparty_id | string (uuid) | null | Sí | Identifier of the organization whose list the guest is on. |
| engagement_id | string (uuid) | null | Sí | Identifier of the engagement the guest was requested under in Gateway. |
| guest_name | string | Sí | Name the guest gives at the door.Restricciones: length 1 to 200 |
| plus_ones | integer | Sí | Additional guests admitted with this guest, 0 to 20.Restricciones: range 0 to any |
| note | string | null | Sí | Notes for the door.Restricciones: length 1 to 500 |
| entry_state | "Requested" | "Approved" | "Declined" | "Checked In" | Sí | Requested, Approved, Declined or Checked In; moved by the decide and check-in actions. |
| decided_at | string (date-time) | null | Sí | When the request was approved or declined. Set by the database. |
| decided_by | string (uuid) | null | Sí | Identifier of the person who decided, set by the database. |
| checked_in_at | string (date-time) | null | Sí | When the guest was checked in. Set by the database. |
| checked_in_by | string (uuid) | null | Sí | Identifier of the person who checked the guest in, set by the database. |
{
"id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"org_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"created_at": "2026-10-08T14:30:00Z",
"created_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"updated_at": "2026-10-08T14:30:00Z",
"updated_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"project_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"scope_node_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"person_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"counterparty_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"engagement_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"guest_name": "Jordan Pike",
"plus_ones": 1,
"note": "Side stage.",
"entry_state": "Requested",
"decided_at": "2026-10-08T14:30:00Z",
"decided_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"checked_in_at": "2026-10-08T14:30:00Z",
"checked_in_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f"
}Ejemplos de código
curl -X PATCH "$XOS_BASE_URL/guest-list-entries/0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f" \
-H "Authorization: Bearer $XOS_API_KEY" \
-H 'If-Match: W/"etag-from-your-last-read"' \
-H "Content-Type: application/json" \
-d '{"scope_node_id":"0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f","guest_name":"Jordan Pike","plus_ones":1,"note":"Side stage."}'const { data, etag } = await xos.guestListEntries.update("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f", {
"scope_node_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"guest_name": "Jordan Pike",
"plus_ones": 1,
"note": "Side stage."
}, { ifMatch: etag });response = xos.guest_list_entries.update("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f", {"scope_node_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f", "guest_name": "Jordan Pike", "plus_ones": 1, "note": "Side stage."}, if_match=etag)xos guest-list-entries update 0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f --data '{"scope_node_id":"0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f","guest_name":"Jordan Pike","plus_ones":1,"note":"Side stage."}' --if-match auto