---
title: "Search reservable products"
method: POST
path: "/reservable-products/actions/search-reservable-products"
tags: ["Reservable products"]
---

# Search reservable products

`POST /reservable-products/actions/search-reservable-products`

## Request

- Base URL: `https://sandbox.crmcarecloud.com/webservice/rest-api/enterprise-interface/v1.0`
- URL: `https://sandbox.crmcarecloud.com/webservice/rest-api/enterprise-interface/v1.0/reservable-products/actions/search-reservable-products`
- Auth: one of:
  - HTTP bearer
  - HTTP basic
- TypeScript: <https://skmtc.dev/crmcarecloud/apis/rest-api-reference/docs/reservable-products/actions/search-reservable-products/post.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `count` integer
- `offset` integer
- `sort_field` string
- `sort_direction` 'ASC' | 'DESC'

## Headers

- `Accept-Language` string

## Request body

- object
  - `search_string` string, required: String used for searching the results.

## Response `200`

OK

- object
  - `data` object
    - `search_results` SearchResult[]: List of the results.
      - `search_result_string` string, required: Full text search result.
      - `resource_id` string, required: The unique ID of the resource as a search result. The unique ID depends on resource where the search action was processed.
      - `flags` Flag[]: List of flags that identify result of the search.
        - `name` string, required: Name of the flag.
        - `text_id` string, required: The unique ID of the flag.
    - `total_items` integer: Count of the results.

## Other responses

- `400`: Bad input parameter. The response body's `error.error_data.invalid_params[]` array lists the parameters that caused the failure, each carrying a `reason` code. See the `BadRequestErrorBody` schema for the generic reason taxonomy. Operations with domain-specific business rules document additional reasons at the operation level.
- `401`: The client has invalid credentials or auth token.
- `403`: The client does not exist or the client tried to access an unauthorized property or resource.
- `404`: The resource was not found.
- `405`: The resource does not support the specified HTTP method.
- `429`: Too many requests - more than the resource limit.
- `500`: Server is not working as expected.
- `503`: Temporary state when the service is temporarily unavailable, overloaded or there is a maintenance window.

---

[API](https://skmtc.dev/crmcarecloud/apis/rest-api-reference.md) - [All operations](https://skmtc.dev/crmcarecloud/apis/rest-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/crmcarecloud/apis/rest-api-reference/revisions/329c06dbf8d9?raw)
