FilterAvailableAttributeInput
Filtering criteria for retrieving available product attributes.
Enables filtering the list of available attributes based on their properties such as visibility, searchability, and data types. Used to discover which attributes can be used for product filtering and search.
**Limit:** at most 200 attribute descriptions are considered when building filters, and the tenant's most recently created attributes take precedence. Tenants that define more searchable attributes than this receive no filters for the remainder, and the field returns an empty list when none of the attributes within the limit apply to the result set. Pass input.ids to request filters for specific attributes regardless of this limit.
input FilterAvailableAttributeInput {
isPublic: Boolean
isSearchable: Boolean
ids: [String!]
types: [AttributeType!]
}
Fields
FilterAvailableAttributeInput.isPublic ● Boolean scalar
Filter attributes by public visibility status.
When true, returns only attributes that are publicly visible to customers. When false, returns only attributes that are private or internal. When not specified, returns attributes regardless of visibility status.
FilterAvailableAttributeInput.isSearchable ● Boolean scalar
Filter attributes by searchability status.
When true, returns only attributes that can be used in search queries. When false, returns only attributes that are not searchable. When not specified, returns attributes regardless of searchability status.
FilterAvailableAttributeInput.ids ● [String!] list scalar
Filter attributes by specific IDs.
List of attribute IDs to include in the results. When provided, only attributes with matching IDs will be returned.
Because the requested IDs are sent to the attribute service as an explicit selection, this is also the way to obtain filters for attributes that fall outside the limit described on this input.
FilterAvailableAttributeInput.types ● [AttributeType!] list enum
Filter attributes by data types.
List of attribute data types to include in the results. When provided, only attributes with matching data types will be returned.