Skip to main content
GET
/
services
/
search
Search services
curl --request GET \
  --url https://api.salesive.com/api/v1/services/search \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "success": true,
  "message": "Search services",
  "data": {
    "services": [
      {
        "_id": "66a3b1c4e1b3a40012ef2001",
        "name": "Deep Tissue Massage",
        "price": 80,
        "images": [
          "https://cdn.salesive.com/sv/massage.jpg"
        ],
        "available": true,
        "listed": true
      }
    ]
  }
}
Full-text searches the store’s services by name and description, returning up to 30 matches. The query parameter is required; omitting it returns 400. Requires the READ_INVENTORY scope.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.

Query Parameters

query
string
required

Full-text search term matched against service name and description. Required.

Response

Search services — success.

status
integer
required
Example:

200

success
boolean
required
Example:

true

message
string
required
Example:

"Search services"

data
object
required
Example:
{
"services": [
{
"_id": "66a3b1c4e1b3a40012ef2001",
"name": "Deep Tissue Massage",
"price": 80,
"images": ["https://cdn.salesive.com/sv/massage.jpg"],
"available": true,
"listed": true
}
]
}