PUT
/api/shopping/v1/product/:id
編輯產品,請務必注意必填欄位與型別。
ID (產品 ID)
Key | Value | Type | Required |
---|---|---|---|
name | FlashSpeed9 | String | Yes |
category | wifi | String | Yes |
price | 500 | Number | Yes |
description | PlayStation6 | String | No |
{
"name": "FlashSpeed9",
"category": "wifi",
"price": 500,
"description": "PlayStation6"
}