# Update attributes of line items for an entitlement Endpoint: PATCH /v1/entitlement/{entitlementId}/additional-properties Version: 1.0.0_Beta ## Path parameters: - `entitlementId` (string, required) ## Request fields (application/json): - `lineItems` (array) - `lineItems.activationId` (string, required) Activation ID of the line item for which attributes has to be updated. - `lineItems.orderType` (string) Order type can have values like 'New_Order', 'Renewal_Order', 'Upgrade_Order' and Upsell_OrderThis is used to identify the type of order for the line item. Enum: "new_order", "renewal_order", "upgrade_order", "upsell_order", "invalid_order" - `lineItems.parentActivationId` (string) Activation ID which will be updated as a parent line item if order type relation exists between line items. If order type is 'New' then this field will be ignored. - `lineItems.deploy` (boolean) Whether this line item is to be deployed - `lineItems.product` (object) Represents product and license model details - `lineItems.product.productName` (string) Product Name related to the line item - `lineItems.product.productVersion` (string) Product Version related to the line item - `lineItems.product.partNumber` (string) Part Number related to Product - `lineItems.product.licenseModel` (object) Represents name of license model and couple of system attributes , if any attributes are not associated to license model then that attribute will be ignored though value is provided in request - `lineItems.product.licenseModel.name` (string) - `lineItems.product.licenseModel.issuer` (string) - `lineItems.product.licenseModel.serialNumber` (string) - `lineItems.product.licenseModel.vendorString` (string) - `lineItems.product.licenseModel.notice` (string) - `lineItems.product.licenseModel.overdraft` (integer) - `lineItems.product.licenseModel.maxBorrowInterval` (string) - `lineItems.product.licenseModel.autoProvision` (boolean) - `lineItems.product.licenseModel.gracePeriodDays` (integer) - `lineItems.attributes` (array) List of custom attributes related to the line item and license model - `lineItems.attributes.name` (string) Name of the custom attribute - `lineItems.attributes.value` (object) Value assigned to the custom attribute. If the value is of type Date, then it should use yyyy/MM/dd format. Similarly, appropriate value corresponding to the type of custom attribute must be provided. - `lineItems.attributes.type` (string) Type of the custom attribute. It can be of LINE_ITEM or LICENSE_MODEL Enum: "line_item", "license_model" ## Response 200 fields (application/json): - `status` (string) - `activationIds` (array) - `activationIds.activationId` (string) - `response` (object) ## Response 400 fields (application/json): - `status` (string) - `message` (string) ## Response 500 fields (application/json): - `status` (string) - `message` (string)