This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.A successful POST request typically returns a 200 OK or 201 Created 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 application/json
Examples
Responses
🟢200Success
application/json
Body
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://connect.dispatchable.com/trips/reorder/trip/stops?trip_uuid=b1db4808-ae30-43be-8d9b-fe49a98fb812&new_trip_number=1' \
--header'Accept: application/json' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data-raw'{
"name": "Add your name in the body"
}'