The method allows you to add a new additional option to your account
POST https://getrentacar.com/api/v302/vehicles/extras/create
Header | Required? | Example | Description |
---|---|---|---|
Authorization | required | Bearer 000:XXXXXXX | Your API key |
Parameter | Required? | A type | Description |
---|---|---|---|
option_id | required parameter | int | List of available default options |
quantity | required parameter | int | Number of options (default: 1) |
price | required parameter | int | Price for an additional option |
currency_id | required parameter | int | ID of the currency from which the price for the additional option is set |
period | required parameter | int | The period for which the additional option is valid (1 - day, 2 - for the whole trip) |
extra_quantity | optional parameter | int | Number of applied options |