AI-generated Key Takeaways
- 
          
This document explains how to create a new
DeliveryVehicleusing aPOSTrequest to the Fleet Engine API. - 
          
The request requires specifying the provider in the path and includes optional query parameters for request headers and a user-defined vehicle ID.
 - 
          
The request body should contain a
DeliveryVehicleobject, as detailed in the provided link. - 
          
A successful response will return the newly created
DeliveryVehicleobject. 
Creates and returns a new DeliveryVehicle.
HTTP request
POST https://fleetengine.googleapis.com/v1/{parent=providers/*}/deliveryVehicles
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent | 
                
                   
 Required. Must be in the format   | 
              
Query parameters
| Parameters | |
|---|---|
header | 
                
                   
 Optional. The standard Delivery API request header.  | 
              
deliveryVehicleId | 
                
                   
 Required. The Delivery Vehicle ID must be unique and subject to the following restrictions: 
  | 
              
Request body
The request body contains an instance of DeliveryVehicle.
Response body
If successful, the response body contains a newly created instance of DeliveryVehicle.