Update a rental rate card

patch/rental-rate-cards/{rental_rate_card_id}
SecuritybearerAuth
Request
path Parameters
rental_rate_card_id
required
integer <int64> (IdParam) >= 1

Rental rate card identifier

Example: 1
Request Body schema: application/json-patch+json

A set of JSONPatch operations to be performed. Note that rental rates can only be added here. To update or delete a rate, use /rental-rates/ PATCH or DELETE method.

Array
op
required
string

The JSON Patch operation to be performed

Enum: "add" "remove" "replace" "move" "copy" "test"
path
required
string

A JSON-Pointer

value
object

The value to be used within the operations

from
string

A string containing a JSON Pointer value

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

Request samples
application/json-patch+json
[
  • {
    • "op": "add",
    • "path": "string",
    • "value": { },
    • "from": "string"
    }
]
Response samples
application/json
{
  • "id": 1,
  • "contractOwnerIds": [
    • 1
    ],
  • "name": "string",
  • "rentalProductCategoryId": 1,
  • "rentalRateCardType": "SELL",
  • "basedOnTemplateId": 1,
  • "availableFrom": "2019-08-24",
  • "availableTo": "2019-08-24",
  • "acceptOverridesFromParents": true,
  • "rentalRates": [
    • {
      • "id": 1,
      • "rentalProductId": 1,
      • "price": 0,
      • "rentalRateType": "ADVANCE",
      • "rentalRatePriceType": "RENTAL",
      • "periodsInAdvance": "STANDARD",
      • "rentalRateFrequency": "DAILY",
      • "startDate": "2019-08-24",
      • "endDate": "2019-08-24",
      • "showOnInvoice": true
      }
    ],
  • "supplierAccountId": 1
}