Get groups with optional filtering via query parameters
curl --request POST \
--url https://api.cloud.flexprice.io/v1/groups/search \
--header 'x-api-key: <api-key>'{
"items": [
{
"created_at": "<string>",
"entity_ids": [
"<string>"
],
"entity_type": "<string>",
"id": "<string>",
"lookup_key": "<string>",
"metadata": {},
"name": "<string>",
"status": "<string>",
"updated_at": "<string>"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}Enter your API key in the format x-api-key <api-key>*
Filter by entity type (e.g., 'price')
Filter by group name (contains search)
Filter by lookup key (exact match)
Number of items to return (default: 20)
Number of items to skip (default: 0)
Field to sort by (name, created_at, updated_at)
Sort order (asc, desc)
OK
curl --request POST \
--url https://api.cloud.flexprice.io/v1/groups/search \
--header 'x-api-key: <api-key>'{
"items": [
{
"created_at": "<string>",
"entity_ids": [
"<string>"
],
"entity_type": "<string>",
"id": "<string>",
"lookup_key": "<string>",
"metadata": {},
"name": "<string>",
"status": "<string>",
"updated_at": "<string>"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}