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/
OK
Bad Request
Unauthorized
Forbidden
Not Found
[- {
- "op": "add",
- "path": "string",
- "value": { },
- "from": "string"
}
]
{- "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
}