Global search
GET/org/:orgId/search
Search across products, offers, etc. using fuzzy name + full-text match.
Request
Path Parameters
orgId stringrequired
Organization ID
Query Parameters
q stringrequired
Search query
types string
Comma-separated object types (e.g. product,offer)
limit integer
Page size (default 20)
cursor string
Cursor (offset:query base64 encoded)
Responses
- 200
- 400
- 500
Search response with items and nextCursor
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
description string
name string
objectId string
organizationId string
score number
type string
nextCursor string
{
"items": [
{
"description": "string",
"name": "string",
"objectId": "string",
"organizationId": "string",
"score": 0,
"type": "string"
}
],
"nextCursor": "string"
}
Bad request error
- application/json
- Schema
Schema
string
Internal error
- application/json
- Schema
Schema
string
Loading...