Update Attribute Status Option
This endpoint updates a status attribute option.
Description
This API endpoint allows the update of a status attribute option. Status attribute options are used to define different stages or states that an item can go through in a collection or list.
Path
Specifies the target type, which can be either “collection” or “list.”
A unique identifier for the target, either a collection ID or a list ID, depending on the target type.
The ID of the status attribute to which the option belongs.
The ID of the status attribute option to be updated.
Request Body
The name of the status option.
Hex color code representing the color associated with the option.
Indicates whether the option is archived (true/false).
Indicates whether celebration is enabled for the option (true/false).
Response
Indicates the success or failure of the status option update. In this case, true signifies a successful operation.
Provides a human-readable message accompanying the response. In this instance, it confirms the successful update of the attribute status option with the message “Attribute status updated successfully.”