The method allows you to edit the added additional option in the account
POST https://getrentacar.com/api/v302/vehicles/extras/update
Header | Required? | Example | Description |
---|---|---|---|
Authorization | required | Bearer 000:XXXXXXX | Your API key |
All parameters that the method accepts adding a new additional option
Parameter | Required? | A type | Description |
---|---|---|---|
extra_id | required parameter | int | Additional option ID |
quantity | optional parameter | int | Number of options (default: 1) |
price | optional parameter | int | Price for an additional option |
currency_id | optional parameter | int | ID of the currency from which the price for the additional option is set |
period | optional 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 |