Add an item into favourite by item_id
, return the info of added itemfav_items_limit_exceeded
(400) (LimitExceededError)
item_already_in_fav
(409) (DuplicatedError)
Request
Body Params application/json
Request Code Samples
curl --location --request POST 'http://localhost:8000/fav/add' \
--header 'Content-Type: application/json' \
--data-raw '1'
Responses
{
"item_id": 0,
"name": "string",
"description": "string",
"created_time": 0,
"price": 0,
"state": "hide",
"tags": [
{
"tag_id": 0,
"tag_type": "string",
"name": "string"
}
],
"tag_name_list": [
"string"
]
}
Modified at 2024-12-11 01:16:41