In the Catalog Search API as seen in (https://developer.squareup.com/reference/square/catalog-api/search-catalog-objects) we have property in the request body called sorted_attribute_query which has parameters attribute_name and sort_order. Can I know what are the possible attribute_name values that are valid? There is nothing mentioned in the API docs with respect to this? The only thing that seems to work out is ‘name’, but if I pass in any other attribute I get the error below:
{
"errors": [
{
"category": "INVALID_REQUEST_ERROR",
"code": "INVALID_VALUE",
"detail": "Unknown attribute definition name \"updated_at\".",
"field": "sorted_attribute_query.attribute_name"
}
]
}
Am I missing something over here?