Update a rental product

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

Rental product identifier

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

A set of JSONPatch operations to be performed

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

Success

400

Invalid 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,
  • "rentalProductCategoryId": 1,
  • "productType": "PRODUCT",
  • "name": "string",
  • "invoicePresentationName": "string",
  • "parentRentalProductId": 1,
  • "supplierId": 0,
  • "supplierProductNames": [
    • "string"
    ],
  • "taxBandId": 1,
  • "availableFrom": "2019-08-24",
  • "nominalCode": "string",
  • "availableTo": "2019-08-24",
  • "doNotProRate": false,
  • "additionalProductReferenceRequired": false,
  • "additionalProductReferenceFormat": "[a-zA-Z0-9]{4,15}",
  • "linkedUsageProductId": 1,
  • "productReferenceRequired": false,
  • "productReferenceFormat": ".*",
  • "productReferenceMayBeDDIRange": false,
  • "generateWhenParentCreated": false,
  • "customFields": [
    • {
      • "id": 1,
      • "label": "string",
      • "value": "string"
      }
    ]
}