This is a PUT request and it is used to overwrite an existing piece of data. For instance, after you create an entity with a POST request, you may want to modify that later. You can do that using a PUT request. You typically identify the entity being updated by including an identifier in the URL (eg. id=1).A successful PUT request typically returns a 200 OK, 201 Created, or 204 No Content response code.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
Header Params
Body Params multipart/form-data
Responses
🟢200Success
application/json
Body
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://connect.dispatchable.com/trips/trips/e3362619-966e-4dcf-be04-8583e498a5af?trip_number=1' \
--header'Accept: application/json' \
--header'Authorization: Bearer <token>'