Partially update a project component
Updates only the provided fields of an existing component in a project. The description and internalNote fields accept HTML or Markdown and will be converted to the internal format. Updating a component triggers project configuration change tracking.
/projects/{projectId}/components/{id}AuthorizationOAuth2 access token · headerrequiredapi:writeAuthorizationBearer token (JWT) · headerrequiredprojectIdstringrequiredidstringrequiredfieldsToReturnstringComma-separated list of top-level response fields to return. Overrides the endpoint compact default unless responseShape=full is used.
responseShapestringAdvanced override. Omit for the endpoint compact default. Use full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
compactfullLT-Response-ShapestringAdvanced override. Set to full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
fullapplication/jsondescriptionstringComponent description (HTML or Markdown)
discountAmountnumberDiscount amount to apply to this component. For percentage discounts, this is the percentage (0-100). For fixed discounts, this is the amount in workspace currency. Set to 0 to remove the discount.
discountTypestringType of discount. "Percentage" applies a percentage reduction, "Fixed" applies a fixed amount reduction. Required when discountAmount is provided.
FixedPercentageiconobject | nullIcon identifier (can be set to null)
internalNotestringInternal note (HTML or Markdown)
namestringComponent name
tagsstring[]Array of tag IDs
Component updated successfully
idstringrequiredUUID of the updated component
Invalid request: invalid UUID format for component ID, project ID, or tag IDs
Unauthorized - Invalid or missing authentication token
Insufficient permissions to manage components or access to project denied
Component not found, component does not belong to project, or project not accessible
Editor content conversion errors