Change the amount to collect
PUT/v2/trips/:id/amount-to-collect
Paid API plans only. Corrects what a delivery should collect (0
waives it). A reason is required; the old and new amounts go on the
timeline and in the trip.amount_to_collect_updated webhook.
Request
Responses
- 200
- 400
- 404
The updated trip
Invalid amount or missing reason (VALIDATION_ERROR)
No such trip on your account (TRIP_NOT_FOUND)