# Update a usage product Endpoint: PATCH /usage-products/{usage_product_id} Version: 2.13 Security: bearerAuth ## Path parameters: - `usage_product_id` (integer, required) Usage product identifier Example: 1 ## Request fields (application/json-patch+json): - `op` (string, required) The JSON Patch operation to be performed Enum: "add", "remove", "replace", "move", "copy", "test" - `path` (string, required) A JSON-Pointer - `value` (object) The value to be used within the operations - `from` (string) A string containing a JSON Pointer value ## Response 200 fields (application/json): - `id` (integer) Usage product identifier Example: 1 - `name` (string, required) Usage product name - `nominalCode` (string) Nominal code Example: "SALES-01QTR2" - `usageProductCategoryId` (integer, required) Usage product category identifier Example: 1 - `direction` (string, required) Usage product direction Enum: "INBOUND", "OUTBOUND" - `performLocalAndNationalCheck` (boolean) Perform local and national check - `availableFrom` (string, required) Product is available from - `availableTo` (string) Product is available to - `productReferenceCanBeRange` (boolean) Product reference can be range - `serviceIdRequired` (boolean) Service id is required on rental product inventories - `customFields` (array) - `customFields.id` (integer) Custom field identifier Example: 1 - `customFields.label` (string, required) Custom field label - `customFields.value` (string, required) Custom field value - `productReferenceFormat` (string, required) Regular expression used to validate product references on usage product inventories Example: "[0-9]{3,11}" - `serviceIdFormat` (string) Regular expression used to validate service ids on usage product inventories Example: "[a-zA-Z0-9\\-]{3,100}" ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 404 fields