Saved Searches
Create saved search
Create a new saved search configuration in your organization. The saved search can be used to quickly apply predefined search criteria, sorting, and display preferences.
The saved search will be owned by the authenticated user unless otherwise specified.
post/saved-searches
Request body
Example request
{
"name": "Active Shipments - West Coast",
"preferenceType": "SHIPMENT",
"jsonValue": {
"searchCriteria": {
"filters": [
{
"field": "status",
"searchCriteria": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
}
}
]
},
"sorting": [
{
"id": "createdAt",
"desc": true
}
]
},
"isPublic": true
}Response
Saved search created successfully
Example response
{
"object": "SAVED_SEARCH",
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Active Shipments - West Coast",
"preferenceType": "SHIPMENT",
"jsonValue": {
"searchCriteria": {
"filters": [
{
"field": "status",
"searchCriteria": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
}
}
]
},
"sorting": [
{
"id": "createdAt",
"desc": true
}
],
"columnVisibility": {
"status": true,
"createdAt": true
},
"columnOrder": [
"id",
"status",
"createdAt"
]
},
"isPublic": true,
"ownedByUser": "550e8400-e29b-41d4-a716-446655440001",
"createdAt": "2025-01-15T10:00:00Z",
"updatedAt": "2025-01-15T14:30:00Z"
}