Create a watchlist
Creates a new named watchlist for the authenticated customer.
post
Authorizations
AuthorizationstringRequired
Your storefront (public) token, sent as Authorization: Bearer STOREFRONT_TOKEN. Generate one in Auction Plus under Settings > API, in the Storefront API section, by clicking Generate Public Token. Required on every request.
Query parameters
fields[watchlists]stringOptional
Available values are name, createdAt, updatedAt. You can include multiple values by separating them with a comma.
Body
namestring · max: 255Required
The watchlist name. Must be unique among the customer's watchlists.
Responses
201
WatchlistResource
application/vnd.api+json
401
The provided user does not have access to this resource.
application/vnd.api+json
422
Validation error
application/vnd.api+json
post/watchlists
POST /storefront/v1/watchlists HTTP/1.1
Host: api.auctionplusapp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}{
"data": {
"id": "text",
"type": "text",
"attributes": {
"name": "text",
"createdAt": null,
"updatedAt": null
}
}
}Last updated