Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Create a new wishlist

Create a new empty wishlist for the authenticated user

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

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

Path parameters
app_idstringrequired

UUID of the app

Request body
requiredapplication/json

Wishlist creation data

is_defaultboolean
namestringrequired
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
500

Internal server error

detailsstring[] | null
messagestring
successboolean
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST '//customers.enad.io/api/v1/string/wishlists' \
  -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"
}