The method allows you to add a new vehicle to your account
POST https://getrentacar.com/api/v302/vehicles/create
Headline | Mandatory? | Example | Description |
---|---|---|---|
Authorization | required | Bearer 000:XXXXXXX | Your API key |
Parameter | Required? | A type | Description |
---|---|---|---|
user_id | required parameter | int | Vehicle owner ID |
locale_id | optional parameter | int | List of available languages for localization |
pickup_location | required parameter | string | Vehicle location. Example: Nîmes, France |
vehicle_class_id | required parameter | int | Vehicle class |
vehicle_model_id | required parameter | int | Vehicle configuration ID |
vehicle_segment_id | required parameter | int | Vehicle Segment ID |
vehicle_year_of_issue_id | required parameter | int | Vehicle year ID |
vehicle_vin | optional parameter | string | VIN number of the vehicle |
vehicle_odometer | optional parameter | string | Fixed vehicle odometer |
vehicle_reg_number_country | optional parameter | string | Country ID of vehicle plate |
vehicle_reg_number | required parameter | string | Vehicle numbers |
vehicle_activity | required parameter | int | Is this vehicle currently active for rent: 1 - active /0 - inactive |
price_per_day | required parameter | int | Price per vehicle per day |
price_per_3days | required parameter | int | Price per day, if rent 3-6 days |
price_per_week | required parameter | int | Price per day, if rent 7-13 days |
price_per_14days | required parameter | int | Price per day, if rent 14+ days |
vehicle_currency_id | optional parameter | int | ID of the currency from which the price of the vehicle is set |
vehicle_protection_plans_insurance_price | optional parameter | int | Protection plan price: for insurance |
vehicle_protection_plans_insurance_exclude_security_deposit | optional parameter | int | Include deposit in full insurance |
vehicle_protection_plans_no_deposit | required parameter | int | Is there a deposit in the vehicle: 1 - present / 0 - no deposit |
vehicle_protection_plans_third_party_insurance | required parameter | int | List of deposit return options |
vehicle_protection_plans_deposit_price | required parameter | int | Protection plan price: deposit |
vehicle_protection_plans_deposit_pay_cash | optional parameter | int | List of deposit payment options. The deposit can be paid in cash: 1 - possible / 0 - impossible |
vehicle_protection_plans_deposit_pay_debit_card | optional parameter | int | List of deposit payment options. The deposit can be paid by debit card: 1 - possible / 0 - impossible |
vehicle_protection_plans_deposit_pay_credit_card | optional parameter | int | List of deposit payment options. The deposit can be paid by credit card: 1 - possible / 0 - impossible |
vehicle_protection_plans_deposit_return_period_cash | optional parameter | int | List of deposit return options. Accepts id of one return option |
vehicle_protection_plans_deposit_return_period_card | optional parameter | int | List of deposit return options. Accepts id of one return option |
vehicle_protection_plans_cdw1_price_day | optional parameter | int | List of protection plans |
vehicle_protection_plans_cdw1_franchise | optional parameter | int | List of protection plans |
vehicle_protection_plans_cdw1_security_deposit | optional parameter | int | List of protection plans |
vehicle_protection_plans_cdw2_price_day | optional parameter | int | List of protection plans |
vehicle_protection_plans_cdw2_franchise | optional parameter | int | List of protection plans |
vehicle_protection_plans_cdw2_security_deposit | optional parameter | int | List of protection plans |
vehicle_protection_plans_tire_windshield_price_day | optional parameter | int | List of protection plans |
vehicle_protection_plans_theft_price_day | optional parameter | int | List of protection plans |
vehicle_protection_plans_interior_price_day | optional parameter | int | List of protection plans |
vehicle_protection_plans_roadside_price_day | optional parameter | int | List of protection plans |
vehicle_tuning_text | optional parameter | string | Description of the tuning of the vehicle. Not more than 5000 characters |
vehicle_delivery_address_fixed_place | optional parameter | array | Place of delivery of the vehicle |
vehicle_delivery_address_fixed_location | optional parameter | array | Vehicle delivery location |
vehicle_delivery_address_fixed_price | optional parameter | array | Price for delivery to the specified location |
vehicle_delivery_return_fixed_place | optional parameter | array | Another place to return the vehicle |
vehicle_delivery_return_fixed_location | optional parameter | array | Other vehicle return location |
vehicle_delivery_return_fixed_price | optional parameter | array | Cost to return elsewhere |
vehicle_distance_unit_id | optional parameter | int | A measure of distance. Default: 0 |
vehicle_distance_included | required parameter | int | How much distance is included in the rental |
vehicle_surcharge_for_excess | required parameter | int | Surcharge for excess daily mileage (per km/mile) |
price_surcharge_over_time | required parameter | int | Price per vehicle per month |
vehicle_images | required parameter | array | Vehicle image list |
vehicle_minimal_renting_period | required parameter | int | Minimum number of days for rent |
vehicle_minimal_age_to_rent | required parameter | int | Minimum rental age (years) |
vehicle_drivers_experience | required parameter | int | Tenant experience (years) |
price_subscription_month | optional parameter | int | Price for 1 month when renting from 1-2 months |
price_subscription_3month | optional parameter | int | Price for 1 month when renting from 3-5 months |
price_subscription_6month | optional parameter | int | Price for 1 month when renting from 6-12 months |
price_subscription_year | optional parameter | int | Price for 1 year when renting from 1 year |
price_subscription_2years | optional parameter | int | Price for 1 year when renting from 2 years |
price_subscription_3years | optional parameter | int | Price for 1 year when renting from 3 years |
vehicle_description | optional parameter | string | Description of the vehicle. Not more than 5000 characters |
vehicle_benefits_id | optional parameter | array | Vehicle Option List |
vehicle_options_id | optional parameter | array | List of additional vehicle options |
vehicle_payment_types | optional parameter | array | List of payment methods |
vehicle_availability_calendar | optional parameter | string | List of dates when the vehicle is unavailable in dmY format separated by commas |
vehicle_passenger_capacity | required parameter | int | Passenger capacity in the vehicle |
vehicle_luggage_capacity | required parameter | int | Luggage capacity in the vehicle |
vehicle_extras | optional parameter | array | List of additions to the vehicle |
vehicle_fuel_policy | required parameter | int | Fuel Policy |
vehicle_booking_lead_time | optional parameter | int | Minimum time to book a vehicle: 1 to 3 days |