Metadata
Creates or updates metadata of a device or a shipment
Updates the metadata object of the device or a shipment identified by the trackingId or the shipmentId. The metadata specified in the request body is merged with the existing metadata object (or gets created if no metadata object exists); new keys are added, and the values of the existing keys are updated with the new data. Adding 'null' value for a key deletes it from the metadata object. Successful response body contains the updated metadata object.
put/metadata/v2/devices/{trackingId}
Request body
object required
Response
Successful
The metadata was successfully updated.
Example response
{
"data": {
"priority": "high"
}
}