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 codewishlist-limit
-
A wishlist has a total size limit of 300kb. If exceeded a
400 Bad Request
is returned with error codewishlist-size
-
The
wishlistId
cannot be defined - it is a url-safe generated identifier (usingnanoid
) -
The
sharedId
cannot be defined - it is a url-safe generated identifier (usingnanoid
) -
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
Example
raw
Request Body
application/json
JSON
{
"content": [
{
"item": "abcdefg"
}
]
}
Responses
201 Created
application/json
JSON
{
"content": [
{
"item": "abcdefg"
}
],
"shareId": "8mKbkAs7sgoiZhAyyyyGB",
"userId": "auth0|65afcb79a4f5ae5550e6e63a",
"wishlistId": "CZopaCCC69IkS8dIW2QFj"
}