This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a list of up to 1000 attribute values, given the provided paging, filtering, and sorting.
Query Attribute Values runs with these defaults, which you can override:
createdDate is sorted in DESC orderpaging.limit is 50paging.offset is 0Supported filter and sort fields: id, attributeDefinitionId, entityId, valueType, stringData, numberData, boolData.
Attribute values don't carry visibility; it's defined on the attribute definition. To respect visibility, resolve each value's definition (for example, with Query Attribute Definitions) and filter out non-visible attributes before displaying them publicly.
To learn about working with Query methods, see API Query Language, Sorting and Paging, and Field Projection.
| Property | Filters | Sort |
|---|---|---|
id | $eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gte | Sort: ASC, DESC |
attributeDefinitionId | $eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gte | Sort: ASC, DESC |
entityId | $eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gte | Sort: ASC, DESC |
valueType | $eq, $ne, $exists, $in, $hasSome | Sort: ASC, DESC |
stringData | $eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gte | Sort: ASC, DESC |
numberData | $eq, $ne, $exists, $in, $hasSome, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
boolData | $eq, $ne, $exists, $in, $hasSome | Sort: ASC, DESC |
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.