Update a wishlist
curl --request PATCH \
--url https://web.onio.app/api/v1/wishlists/{wishlistId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"notes": "<string>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: '<string>', notes: '<string>'})
};
fetch('https://web.onio.app/api/v1/wishlists/{wishlistId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://web.onio.app/api/v1/wishlists/{wishlistId}"
payload = {
"title": "<string>",
"notes": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "3f6c1a52-8d1e-4b7a-9c2e-1f5d7a9b0c41",
"title": "Birthday 2027",
"occasion": "birthday",
"notes": "Anything green is great.",
"status": "published",
"createdAt": "2026-11-02T09:15:00.000Z",
"updatedAt": "2026-11-10T18:42:00.000Z"
}{
"statusCode": 400,
"message": "Invalid request body: `title`: Too small: expected string to have >=1 characters",
"error": "Bad Request"
}{
"statusCode": 401,
"message": "Missing or invalid access token",
"error": "Unauthorized"
}{
"statusCode": 403,
"message": "Access token lacks the required scope",
"error": "Forbidden"
}{
"statusCode": 404,
"message": "Wishlist not found",
"error": "Not Found"
}{
"statusCode": 409,
"message": "Your wishlists changed during the request. Try again.",
"error": "Conflict"
}{
"statusCode": 429,
"message": "ThrottlerException: Too Many Requests"
}Wishlists
Update a wishlist
Changes the title, occasion or notes. To change the status, share the wishlist or stop sharing it.
Update a wishlist
curl --request PATCH \
--url https://web.onio.app/api/v1/wishlists/{wishlistId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"notes": "<string>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: '<string>', notes: '<string>'})
};
fetch('https://web.onio.app/api/v1/wishlists/{wishlistId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://web.onio.app/api/v1/wishlists/{wishlistId}"
payload = {
"title": "<string>",
"notes": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "3f6c1a52-8d1e-4b7a-9c2e-1f5d7a9b0c41",
"title": "Birthday 2027",
"occasion": "birthday",
"notes": "Anything green is great.",
"status": "published",
"createdAt": "2026-11-02T09:15:00.000Z",
"updatedAt": "2026-11-10T18:42:00.000Z"
}{
"statusCode": 400,
"message": "Invalid request body: `title`: Too small: expected string to have >=1 characters",
"error": "Bad Request"
}{
"statusCode": 401,
"message": "Missing or invalid access token",
"error": "Unauthorized"
}{
"statusCode": 403,
"message": "Access token lacks the required scope",
"error": "Forbidden"
}{
"statusCode": 404,
"message": "Wishlist not found",
"error": "Not Found"
}{
"statusCode": 409,
"message": "Your wishlists changed during the request. Try again.",
"error": "Conflict"
}{
"statusCode": 429,
"message": "ThrottlerException: Too Many Requests"
}Authorizations
Body
application/json
Response
The updated wishlist