Update a rental product inventory

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

Rental product inventory 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,
  • "siteId": 1,
  • "rentalProductId": 1,
  • "parentRentalProductInventoryId": 1,
  • "invoicePresentationProductName": "string",
  • "supplierAccountId": 1,
  • "startDate": "2019-08-24",
  • "endDate": "2019-08-24",
  • "invoiceFrequency": 0,
  • "quantity": 1,
  • "productReference": "string",
  • "additionalProductReference": "string",
  • "label": "string",
  • "treatStartAsWholePeriod": false,
  • "treatEndAsWholePeriod": false,
  • "contractStartDate": "2019-08-24",
  • "userId": "string",
  • "userEmail": "string",
  • "costCentreCode": "string",
  • "departmentCode": "string",
  • "featureNumber": "string",
  • "nominalCode": "string",
  • "notes": "string",
  • "billable": true,
  • "inFlightOrder": false,
  • "billInitialChargesImmediately": false,
  • "alignedToStart": false,
  • "alignedToBillPeriod": false,
  • "externalOrderReference": "string",
  • "externalNetworkOrderReference": "string",
  • "pendingEndDate": "2019-08-24",
  • "forceBilling": true,
  • "forceBillPeriods": 1,
  • "installationAddress": {
    • "id": 1,
    • "businessName": "string",
    • "address1": "string",
    • "address2": "string",
    • "address3": "string",
    • "town": "string",
    • "county": "string",
    • "postcode": "string",
    • "country": "GB"
    },
  • "customFields": [
    • {
      • "id": 1,
      • "label": "string",
      • "value": "string"
      }
    ]
}