---
title: "Update a registry item"
method: PATCH
path: "/registry/items/{registry_item_id}"
tags: ["Registry"]
---

# Update a registry item

`PATCH /registry/items/{registry_item_id}`

## Request

- Base URL: `https://api.aisle.wedding/v1`
- URL: `https://api.aisle.wedding/v1/registry/items/{registry_item_id}`
- Auth: HTTP bearer

## Path parameters

- `registry_item_id` string, required

## Request body

- object
  - `title` string
  - `description` string, nullable
  - `image_url` string, nullable
  - `goal_amount` union
    - number
    - string
  - `unit_label` string, nullable
  - `unit_price` union
    - number
    - string
  - `unit_count` integer, nullable
  - `allow_custom_amount` boolean
  - `sort_order` integer
  - `active` boolean

## Response `200`

The requested data.

- RegistryItemResult
  - `data` PublicRegistryItem, required
    - `id` string, required
    - `title` string, required
    - `description` string, nullable, required
    - `image_url` string, nullable, required
    - `goal_amount` string, required: A decimal currency amount. It is serialized as a string.
    - `received_amount` string, required: A decimal currency amount. It is serialized as a string.
    - `gift_count` integer, required
    - `unit_label` string, nullable, required
    - `unit_price` string, nullable, required
    - `unit_count` integer, nullable, required
    - `allow_custom_amount` boolean, required
    - `sort_order` integer, required
    - `active` boolean, required
    - `created_at` string, date-time, required: An RFC 3339 UTC timestamp with milliseconds.
    - `updated_at` string, date-time, required: An RFC 3339 UTC timestamp with milliseconds.

## 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.
- `405`: That HTTP method is not supported here. See the Allow header.
- `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)
