Last updated 6 months ago
The updated trip uid.
The new trip name.
const response = await fetch('https://api.dashdoc.eu/api/v4/trips/{uid}/set-name/', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "name": "trip_ref_01234" }), }); const data = await response.json();
{ "uid": "447521b0-e165-11ea-a488-0242ac110007", "name": "trip_ref_01234" }