Update guests
lemonvite_update_guestsUse this when the user wants to fix saved guests on a Lemonvite invitation: a name, email or phone number. Send up to 50 in one call; only the fields you pass change, and an empty string clears one. Get each invitation_id from lemonvite_list_guests. Changing contact details does not re-send the invitation, but on a published invitation, adding an email or phone to a guest who had none sends the invitation there. Adding a phone to a guest who had none requires host_confirms_sms_consent=true. On a published invitation a new phone can exceed the phone allowance and return payment_required: explain the credits it uses and the larger allowance, and retry with authorized_credits only after the host agrees. If the account is short of credits: Buy the creditsToBuy shortfall with lemonvite_start_checkout without event_id. Each guest gets its own result, so one failure does not stop the others. To add new guests use lemonvite_add_guests; to take someone off the list use lemonvite_remove_guests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guests | Yes | Batch of 1–50 guest updates. Each needs an invitation_id and the fields to change. Omitted fields retain their saved values. | |
| event_id | Yes | Lemonvite event_id returned by lemonvite_create_invitation or lemonvite_list_invitations. Identifies the event to act on; not a guest invitation_id or RSVP URL. | |
| authorized_credits | No | Maximum shared account credits the host explicitly agreed to spend across this entire request. Default 0: return payment_required without spending. Explain the credits used and the increased phone allowance, and obtain confirmation before setting this. | |
| host_confirms_sms_consent | No | Set true only when the host confirms the guest agreed to receive SMS about this event. Required when adding a phone number to a guest who had none. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failed | Yes | ||
| results | Yes | ||
| updated | Yes | ||
| credits_used | Yes |