Skip to main content
GET
Get List Of Attribute Options

Description

This API endpoint allows the retrieval of options associated with select or multiselect attributes. The options provide additional information or categorization for the specified attribute.

Path

string
required
Specifies the target type, which can be either “collection” or “list.”
string
required
A unique identifier for the target, either a collection ID or a list ID, depending on the target type.
string
required
The ID of the select or multiselect attribute for which options are to be fetched.

Response

boolean
Indicates the success or failure of the option retrieval. In this case, true signifies a successful operation.
string
Provides a human-readable message accompanying the response. In this instance, it confirms the successful retrieval of attribute options with the message “Attribute option list fetched successfully.”
array_object
An array containing details of the fetched attribute options. For each option in the data array: