Skip to content

create a wishlist

POST
/wishlists

Creates a wishlist for a user

  • A user can have a maximum of 10 wishlists. If trying to create more than 10 wishlists a 400 Bad Request is returned with error code wishlist-limit

  • A wishlist has a total size limit of 300kb. If exceeded a 400 Bad Request is returned with error code wishlist-size

  • The wishlistId cannot be defined - it is a url-safe generated identifier (using nanoid)

  • The sharedId cannot be defined - it is a url-safe generated identifier (using nanoid)

  • The wishlist data should be provided via raw JSON in the request body

Authorizations

bearerAuth
TypeHTTP (bearer)

Parameters

Query Parameters

format

Returns the card content without signed access urls

Typestring
Exampleraw

Request Body

application/json
JSON
{
"content": [
{
"item": "abcdefg"
}
]
}

Responses

201 Created
application/json
JSON
{
"content": [
{
"item": "abcdefg"
}
],
"shareId": "8mKbkAs7sgoiZhAyyyyGB",
"userId": "auth0|65afcb79a4f5ae5550e6e63a",
"wishlistId": "CZopaCCC69IkS8dIW2QFj"
}

Playground

Authorization
Variables
Key
Value
Body

Samples