Request ‒ Products/Patch or Put
In the request, specify the ID of the Product whose definition to change and the name of the property(s) to change. These properties are described in Products/Post.
For the Patch request, all unspecified fields remain unchanged.
For the Put request, all unspecified fields are assigned default values.
Property
Type
Description
Mandatory
productId
String
This is the unique identifier automatically assigned by IoT Platform when a Product is created. This productId is returned in the response of the Products/Post.
Y
Example JSON Products/Patch Request
curl -X PATCH \
https://api.stg.axonize.com/odata/products/592139084d27e710e80f1234 \
-H ‘Authorization: Token’ \
-H ‘Content-Type: application/json’ \
-H ‘appId: 801A048A-9F23-429F-BF0D-B6D35B22771E’ \
-d ‘{
“name”:”test”
}