POST
/api/shopping/v1/product
新增產品,請務必注意必填欄位與型別。
Key | Value | Type | Required |
---|---|---|---|
id | gNd4cp2u5NxXTTaT | String | Yes |
name | KoboGame | String | Yes |
category | game | String | Yes |
price | 1000 | String | Yes |
description | 超好玩遊戲 | String | No |
{
"id": "gNd4cp2u5NxXTTaT",
"name": "KoboGame",
"category": "game",
"price": "1000",
"description": "超好玩遊戲"
}
{
"status": true,
"message": "新增成功,但是尚未連接資料庫。"
}