Bulk create trips
Creates multiple trips for the specified business in a single request. Maximum of 100 trips per request. This endpoint is idempotent using the external_id field as the idempotency key for each trip.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Content-Type must be set to application/json.
Path Parameters
The UUID of the business.
Body
List of trips to create. Maximum of 100 trips per request.
100Response
Trips created successfully.
The unique identifier of the trip.
The vehicle used for this trip.
The distance traveled in miles, as a decimal string.
The date of the trip (YYYY-MM-DD).
The purpose classification of the trip.
UNREVIEWED, BUSINESS, PERSONAL The IRS standard mileage rate in cents per mile applicable for the trip date.
The estimated tax deduction in cents. Only calculated for BUSINESS trips; returns 0 for PERSONAL and UNREVIEWED trips.
Timestamp when the trip was created.
Timestamp when the trip was last updated.
An optional external identifier for the trip, used for idempotency.
The starting address of the trip.
The ending address of the trip.
An optional description or notes about the trip.
Timestamp when the trip was deleted, or null if not deleted.