Update Attribute Option
This endpoint updates a select/multiselect attribute option.
Description
This API endpoint allows the update of a select/multiselect attribute option. Select/multiselect attribute options are used to define various choices available for a select/multiselect attribute associated with 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 select/multiselect attribute to which the option belongs.
The ID of the select/multiselect attribute option to be updated.
Request Body
The name of the select/multiselect option.
Hex color code representing the color associated with the option.
Indicates whether the option is archived (true/false).
The order or ranking of the option.
Response
Indicates the success or failure of the select/multiselect 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 select/multiselect option with the message “Attribute option updated successfully.”