{
"productID": "string",
"transformScript": "string",
"loginAuthScript": "string",
"scriptLang": 0,
"customTopics": [
{
"topic": "string",
"direction": 0
}
]
}
curl --location --request POST '/api/v1/things/product/custom/update' \
--header 'Ithings-Project-Id: {{Ithings-Project-Id}}' \
--header 'Ithings-Token: {{iThings-token}}' \
--header 'app-code: {{appCode}}' \
--header 'device-id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"productID": "string",
"transformScript": "string",
"loginAuthScript": "string",
"scriptLang": 0,
"customTopics": [
{
"topic": "string",
"direction": 0
}
]
}'
{
"code": "200",
"msg": "string"
}