Skip to main content
GET
/
api
/
search
/
product-categories
Search product categories
curl --request GET \
  --url https://app.solya.app/api/search/product-categories \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "cat-uuid-1",
    "name": "Footwear"
  },
  {
    "id": "cat-uuid-2",
    "name": "Apparel"
  }
]

Authorizations

Authorization
string
header
required

User session token issued by NextAuth. For human users accessing Solya via the web application.

Query Parameters

Partial text to filter results by name

limit
number
default:10

Maximum number of results to return (1–100)

Required range: 1 <= x <= 100
ids
string
required

Comma-separated list of IDs to resolve by exact match

Response

Successful response

data
object[]
required
success
enum<boolean>
required
Available options:
true