Updates an additional option created in the authenticated owner's account.
Endpoint
POST https://getrentacar.com/api/v302/vehicles/extras/update
Request headers
| Header | Required? | Example | Description |
|---|---|---|---|
Authorization | required | Bearer 000:XXXXXXX | Your API token |
Request parameters
All parameters accepted by creating an additional option.
This is a replacement-style legacy operation. Send the current option, price, currency, period, and quantity together with
extra_id; omitted values may be cleared.
| Parameter | Required? | Type | Description |
|---|---|---|---|
extra_id | required | int | Additional option ID |
option_id | required | int | Additional option type |
price | required | int | Additional option price |
currency_id | required | int | Pricing currency ID |
period | required | int | Validity period: 1 โ per day, 2 โ entire trip |
extra_quantity | required | int | Maximum quantity: 1 to 10 |
Interactive console
Explicit requests only Try it
Interactive sending is disabled for this replacement-style operation to prevent accidental data loss. Read the current resource, merge your changes, and use the generated example or OpenAPI specification.