PUT https://api.digital-nautic.com/v3/rentals/{rentalId}/options/{optionId}
Parameter name | Value | Description | Additional |
---|---|---|---|
rentalId | integer | pass a mandatory rental id to get access to the options. |
Required |
optionId | integer | pass a mandatory option id to identify the option to update. |
Required |
The request body takes a complete Rental Option Quantity resource, containing the following writable properties:
{
"quantity": "integer"
}
Name | Type | Description | Additional |
---|---|---|---|
quantity | integer |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK item updated |
Rental Option |
400 | Bad Request bad input parameter |
|
401 | Unauthorized authorization information is missing or invalid. |
|
404 | Not Found an option with the specified ID was not found. |