---
title: "PATCH /wedding"
method: PATCH
path: "/wedding"
tags: ["Wedding"]
---

# PATCH /wedding

`PATCH /wedding`

## Request

- Base URL: `https://api.aisle.wedding/v1`
- URL: `https://api.aisle.wedding/v1/wedding`
- Auth: HTTP bearer

Retrying with the same values is safe and converges on the same stored state.

## Request body

- object
  - `slug` string
  - `partner_1_name` string
  - `partner_2_name` string
  - `couple_display_name` string, nullable
  - `wedding_date` string, date, nullable: A calendar day the couple owns in the venue's zone, with no instant behind it. It is the same day for every reader.
  - `wedding_end_date` string, date, nullable: A calendar day the couple owns in the venue's zone, with no instant behind it. It is the same day for every reader.
  - `location` string, nullable
  - `venue_name` string, nullable
  - `place_id` string, nullable
  - `latitude` union: A decimal from -90 through 90.
    - number
    - string
  - `longitude` union: A decimal from -180 through 180.
    - number
    - string
  - `city` string, nullable
  - `country` string, nullable
  - `timezone` string, nullable: The IANA zone of the venue, such as `Europe/Rome`. Every instant this API returns is meant to be read in this zone. Null on a wedding with no venue yet, in which case instants were written against UTC.
  - `room_selection_mode` 'couple_assigned' | 'guest_choice': Legacy bulk setter: updates the wedding fallback and clears every property override, including when the value is unchanged. Prefer property room_selection_mode for individual Hosted places.
  - `public_registry_enabled` boolean

## Response `200`

Success.

- object
  - `data` Wedding, required
    - `id` string, required
    - `slug` string, required
    - `partner_1_name` string, required
    - `partner_2_name` string, required
    - `couple_display_name` string, nullable, required
    - `wedding_date` string, date, nullable, required: A calendar day the couple owns in the venue's zone, with no instant behind it. It is the same day for every reader.
    - `wedding_end_date` string, date, nullable, required: A calendar day the couple owns in the venue's zone, with no instant behind it. It is the same day for every reader.
    - `timezone` string, nullable, required: The IANA zone of the venue, such as `Europe/Rome`. Every instant this API returns is meant to be read in this zone. Null on a wedding with no venue yet, in which case instants were written against UTC.
    - `currency` string, required
    - `location` string, nullable, required
    - `venue` object, required
      - `name` string, nullable
      - `place_id` string, nullable
      - `latitude` string, nullable
      - `longitude` string, nullable
      - `city` string, nullable
      - `country` string, nullable
    - `room_selection_mode` string, required
    - `guest_pays_platform_fee` boolean, required
    - `room_payment_on_rsvp` boolean, required: When true, a guest's yes on the couple's Aisle site waits for the first payment on their room. `PUT /v1/guests/{guest_id}/rsvp` does not apply this rule.
    - `public_registry_enabled` boolean, required
    - `published` boolean, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `400`: The request itself could not be read, such as a body that is not a JSON object. A field we refuse is validation_failed instead.
- `401`: The API key is missing, malformed, or no longer valid.
- `402`: The operation requires an active Aisle membership for this wedding.
- `403`: The key is valid but not permitted to do this.
- `404`: No such resource inside the key's wedding.
- `409`: The request collided with the current state of the resource.
- `415`: A request body must be sent as application/json.
- `422`: The request was well-formed but a field was not acceptable. Every field at fault is named in error.details.
- `429`: Too many requests. Retry after the time given in Retry-After.
- `500`: Something went wrong on our side.

---

[API](https://skmtc.dev/aisle/apis/aisle-api.md) · [All operations](https://skmtc.dev/aisle/apis/aisle-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aisle/apis/aisle-api/revisions/689a2f2420cc?raw)
