Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Update wishlist

Update wishlist details for the authenticated user

PATCH/api/v1/{app_id}/wishlists/{id}
Authorization
AuthorizationAPI key · headerrequired

Bearer token (format: "Bearer {token}")

Path parameters
app_idstringrequired

UUID of the app

idstringrequired

UUID of the wishlist

Request body
requiredapplication/json

Wishlist update data

is_defaultboolean
namestring
min length 1
Responses
200

OK

created_atstring
idstring
is_defaultboolean
item_countinteger
namestring
updated_atstring
user_idstring
400

Invalid request

detailsstring[] | null
messagestring
successboolean
401

Unauthorized

detailsstring[] | null
messagestring
successboolean
404

Wishlist not found

detailsstring[] | null
messagestring
successboolean
500

Internal server error

detailsstring[] | null
messagestring
successboolean
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PATCH '//customers.enad.io/api/v1/string/wishlists/string' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "is_default": true,
  "name": "string"
}'
Response
{
  "created_at": "string",
  "id": "string",
  "is_default": true,
  "item_count": 0,
  "name": "string",
  "updated_at": "string",
  "user_id": "string"
}