Add or update a metadata

This API allows you to add or update specific metadata related to your product (example : price of insurance for the trip) in trip data. This can be done after a successful push trip data to your backend.

As these metadata are synchronised in DriveKit SDK database, you can display these datas on your application.

circle-info

If you have your admin API key, you can try the API via this linkarrow-up-right.

Add or update metadata in trip metadata

PUT https://service.drivequant.com/v3/drivekit/admin/trips/{tripId}/metadata

Headers

Name
Type
Description

DriveKit-Admin-API-Key*

String

Admin API Key

Request Body

Name
Type
Description

metaData*

Objet

Key/value pairs in String format

{
    "metaData": {
    "key": "value"
  }
}

Last updated

Was this helpful?