Skip to main content
POST
/
api
/
product
/
add
添加产品
curl --request POST \
  --url https://api.example.com/api/product/add \
  --header 'Authentication: <authentication>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "产品1",
  "deviceType": "device",
  "productCode": "",
  "deptId": "000000",
  "photo": "",
  "description": ""
}
'
{}

Headers

Authentication
string
required

Body

application/json
name
string
required
deviceType
string
required
productCode
string
required
deptId
string
photo
string
description
string

Response

200 - application/json

The response is of type object.