{
"productID": "string",
"productName": "string",
"productImg": "string",
"isUpdateProductImg": true,
"netType": 0,
"dataProto": 0,
"deviceType": 0,
"authMode": 0,
"autoRegister": 0,
"categoryID": 0,
"desc": "string",
"createdTime": "string",
"status": 0,
"secret": "string",
"trialTime": 0,
"protocolCode": "string",
"sceneMode": "string",
"protocolConf": [
{
"key": "string",
"value": "string"
}
],
"tags": [
{
"key": "string",
"value": "string"
}
]
}curl --location --request POST '/api/v1/things/product/info/update' \
--header 'iThings-token: {{iThings-token}}' \
--header 'iThings-project-id: 1786838173980422144' \
--header 'iThings-app-code: {{iThings-app-code}}' \
--header 'iThings-user-role: 1' \
--header 'Accept-Language: en' \
--header 'iThings-tenant-code;' \
--header 'Content-Type: application/json' \
--data-raw '{
"productID": "string",
"productName": "string",
"productImg": "string",
"isUpdateProductImg": true,
"netType": 0,
"dataProto": 0,
"deviceType": 0,
"authMode": 0,
"autoRegister": 0,
"categoryID": 0,
"desc": "string",
"createdTime": "string",
"status": 0,
"secret": "string",
"trialTime": 0,
"protocolCode": "string",
"sceneMode": "string",
"protocolConf": [
{
"key": "string",
"value": "string"
}
],
"tags": [
{
"key": "string",
"value": "string"
}
]
}'{
"code": 0,
"msg": "success"
}
扫码加入 iThings微信交流群

扫码加入交流群