---
title: "Pages a calendar product's bookings, the next first: who booked, when, and a canceled call's refund."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.sherpo.io/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Sherpo merchant API › customer

`GET /v1/stores/{store}/products/{product}/call_bookings`

## Authentication

- `bearer`, http, header `Authorization`, scopes: `customer:read`

## Path parameters

- `store` (`listCallBookings.path.store`; string, required) — The store's id.
- `product` (`listCallBookings.path.product`; string, required) — An id, or `slug:<slug>`.
  - minLength 1

## Query parameters

- `filter` (`listCallBookings.query.filter`; object, optional) — `filter[<field>]=<value>` is an equality, `filter[<field>][<op>]=<value>` names the operator; `in` repeats the parameter.
- `sort` (`listCallBookings.query.sort`; string, optional)
  - one of `"starts"`, `"latest"`
- `direction` (`listCallBookings.query.direction`; string, optional)
  - one of `"asc"`, `"desc"`
- `limit` (`listCallBookings.query.limit`; integer, optional)
  - min 1; max 100
- `cursor` (`listCallBookings.query.cursor`; string, optional)
  - maxLength 8192
- `count` (`listCallBookings.query.count`; boolean, optional)
- `search` (`listCallBookings.query.search`; string, optional)
  - minLength 1; maxLength 200
- `facets` (`listCallBookings.query.facets`; array<string>, optional)

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.sherpo.io/merchant/v1/stores/<store>/products/<product>/call_bookings' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.sherpo.io/merchant/v1/stores/<store>/products/<product>/call_bookings';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.sherpo.io/merchant/v1/stores/<store>/products/<product>/call_bookings"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Pages a calendar product's bookings, the next first: who booked, when, and a canceled call's refund.

#### Example

```json
{
  "items": [
    {
      "meeting": {
        "kind": "string",
        "url": "string",
        "status": "ready"
      },
      "customer_id": "string",
      "order_id": "string",
      "order_item_id": "string",
      "amount": 0,
      "refundable": 0,
      "currency": "string",
      "exponent": 0,
      "cancel_message": "string",
      "conflict": true,
      "refund": {
        "id": "string",
        "product_id": "string",
        "customer_id": "string",
        "order_id": "string",
        "settlement_id": "string",
        "status": "string",
        "amount": 0,
        "currency": "string",
        "exponent": 0,
        "failure": "string",
        "refund_id": "string",
        "processor_ref": "string",
        "refunded_at": "string",
        "created_at": "string",
        "customer": {
          "id": "string",
          "name": "string",
          "email": "string",
          "phone": "string",
          "erased": true
        }
      },
      "refunds": [
        {
          "id": "string",
          "product_id": "string",
          "customer_id": "string",
          "order_id": "string",
          "settlement_id": "string",
          "status": "string",
          "amount": 0,
          "currency": "string",
          "exponent": 0,
          "failure": "string",
          "refund_id": "string",
          "processor_ref": "string",
          "refunded_at": "string",
          "created_at": "string",
          "customer": {
            "id": "string",
            "name": "string",
            "email": "string",
            "phone": "string",
            "erased": true
          }
        }
      ],
      "customer": {
        "id": "string",
        "name": "string",
        "email": "string",
        "phone": "string",
        "erased": true
      },
      "id": "string",
      "product_id": "string",
      "status": "string",
      "starts_at": "string",
      "ends_at": "string",
      "time_zone": "string",
      "change_until": "string",
      "reschedules": 0,
      "reschedules_left": 0,
      "rescheduled_from": "string",
      "refund_until": "string",
      "cancel_reason": "string",
      "canceled_at": "string",
      "refund_owed": true,
      "created_at": "string",
      "updated_at": "string"
    }
  ],
  "cursor": "string",
  "total": 0,
  "facets": {
    "property1": {
      "property1": 0,
      "property2": 0
    },
    "property2": {
      "property1": 0,
      "property2": 0
    }
  }
}
```

- `items` (`listCallBookings.response.200.items`; array<object>, required)
  - `meeting` (`listCallBookings.response.200.items.meeting`; any of, required) — Where the call is joined; null once it isn't booked, or with no link to join.
    - any of: `object`, `object`, `null`
  - `customer_id` (`listCallBookings.response.200.items.customer_id`; string, required)
  - `order_id` (`listCallBookings.response.200.items.order_id`; any of, required)
    - any of: `string`, `null`
  - `order_item_id` (`listCallBookings.response.200.items.order_item_id`; any of, required)
    - any of: `string`, `null`
  - `amount` (`listCallBookings.response.200.items.amount`; any of, required) — What its order line charged, after discounts; null without `revenue:read`.
    - any of: `number`, `null`
  - `refundable` (`listCallBookings.response.200.items.refundable`; any of, required) — What a cancel with a refund would give back now: `amount` less what the order already refunded of it; null once canceled or without `revenue:read`.
    - any of: `number`, `null`
  - `currency` (`listCallBookings.response.200.items.currency`; any of, required)
    - any of: `string`, `null`
  - `exponent` (`listCallBookings.response.200.items.exponent`; any of, required)
    - any of: `number`, `null`
  - `cancel_message` (`listCallBookings.response.200.items.cancel_message`; any of, required) — The seller's words to the customer when they canceled it; null otherwise.
    - any of: `string`, `null`
  - `conflict` (`listCallBookings.response.200.items.conflict`; boolean, required) — Whether money that came after its hold lapsed booked it over another call, for the seller to move.
  - `refund` (`listCallBookings.response.200.items.refund`; any of, required) — What its cancel gives back and where it stands, the worst of `refunds` (`retryEventRefund` tries a failed one again; `manual` is the seller's to pay by hand); null when none was made, which with `refund_owed` means nothing was left to give back.
    - any of: `object`, `null`
  - `refunds` (`listCallBookings.response.200.items.refunds`; array<object>, required) — One refund per payment of its order, worst first.
    - `id` (`listCallBookings.response.200.items.refunds.id`; string, required)
    - `product_id` (`listCallBookings.response.200.items.refunds.product_id`; string, required)
    - `customer_id` (`listCallBookings.response.200.items.refunds.customer_id`; string, required)
    - `order_id` (`listCallBookings.response.200.items.refunds.order_id`; string, required)
    - `settlement_id` (`listCallBookings.response.200.items.refunds.settlement_id`; string, required)
    - `status` (`listCallBookings.response.200.items.refunds.status`; string, required) — `pending` while owed, `refunded` once given back, `failed` for the seller to retry, `manual` for the seller to refund (a sale paid outside the store, or one its payment has no room left for).
    - `amount` (`listCallBookings.response.200.items.refunds.amount`; any of, required)
      - any of: `number`, `null`
    - `currency` (`listCallBookings.response.200.items.refunds.currency`; string, required)
    - `exponent` (`listCallBookings.response.200.items.refunds.exponent`; any of, required)
      - any of: `number`, `null`
    - `failure` (`listCallBookings.response.200.items.refunds.failure`; any of, required) — Why the last try failed: `processor_refused`, `account_gone`, `processor_failed`, `processor_unavailable`, `nothing_left`, `order_unreconciled` or `internal`; null unless failed.
      - any of: `string`, `null`
    - `refund_id` (`listCallBookings.response.200.items.refunds.refund_id`; any of, required) — The refund recorded on the order once it landed, or once a refund naming it gave it back.
      - any of: `string`, `null`
    - `processor_ref` (`listCallBookings.response.200.items.refunds.processor_ref`; any of, required)
      - any of: `string`, `null`
    - `refunded_at` (`listCallBookings.response.200.items.refunds.refunded_at`; any of, required)
      - any of: `string`, `null`
    - `created_at` (`listCallBookings.response.200.items.refunds.created_at`; string, required)
    - `customer` (`listCallBookings.response.200.items.refunds.customer`; any of, required) — Who it gives back to, `erased` once their details are wiped.
      - any of: `object`, `null`
  - `customer` (`listCallBookings.response.200.items.customer`; any of, required)
    - any of: `object`, `null`
  - `id` (`listCallBookings.response.200.items.id`; string, required)
  - `product_id` (`listCallBookings.response.200.items.product_id`; string, required)
  - `status` (`listCallBookings.response.200.items.status`; string, required)
  - `starts_at` (`listCallBookings.response.200.items.starts_at`; any of, required)
    - any of: `string`, `null`
  - `ends_at` (`listCallBookings.response.200.items.ends_at`; any of, required)
    - any of: `string`, `null`
  - `time_zone` (`listCallBookings.response.200.items.time_zone`; any of, required) — The host's time zone, which the call's hours are set in.
    - any of: `string`, `null`
  - `change_until` (`listCallBookings.response.200.items.change_until`; any of, required) — Until when its customer may still move or cancel it.
    - any of: `string`, `null`
  - `reschedules` (`listCallBookings.response.200.items.reschedules`; number, required) — How many times its customer moved it; a seller's moves spend none.
  - `reschedules_left` (`listCallBookings.response.200.items.reschedules_left`; number, required)
  - `rescheduled_from` (`listCallBookings.response.200.items.rescheduled_from`; any of, required) — Where it started before its latest move, by the seller or the customer; null if it never moved.
    - any of: `string`, `null`
  - `refund_until` (`listCallBookings.response.200.items.refund_until`; any of, required) — Until when a cancel refunds it; null when none does.
    - any of: `string`, `null`
  - `cancel_reason` (`listCallBookings.response.200.items.cancel_reason`; any of, required)
    - any of: `string`, `null`
  - `canceled_at` (`listCallBookings.response.200.items.canceled_at`; any of, required)
    - any of: `string`, `null`
  - `refund_owed` (`listCallBookings.response.200.items.refund_owed`; any of, required) — Whether its cancel owed what was paid back, never for a call that charged nothing; null while it is booked.
    - any of: `boolean`, `null`
  - `created_at` (`listCallBookings.response.200.items.created_at`; any of, required)
    - any of: `string`, `null`
  - `updated_at` (`listCallBookings.response.200.items.updated_at`; any of, required)
    - any of: `string`, `null`
- `cursor` (`listCallBookings.response.200.cursor`; any of, required)
  - any of: `string`, `null`
- `total` (`listCallBookings.response.200.total`; number, optional)
- `facets` (`listCallBookings.response.200.facets`; map<map<number>>, optional)

### default

A problem; see https://api.sherpo.io/merchant/docs/errors.

#### Example

```json
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "context": {},
  "reached_core": true,
  "core_answer": "string"
}
```

- `type` (`listCallBookings.response.default.type`; string, required)
  - format `uri`
- `title` (`listCallBookings.response.default.title`; string, required)
- `status` (`listCallBookings.response.default.status`; integer, required)
- `detail` (`listCallBookings.response.default.detail`; string, required)
- `code` (`listCallBookings.response.default.code`; string, optional)
- `context` (`listCallBookings.response.default.context`; object, optional)
- `reached_core` (`listCallBookings.response.default.reached_core`; boolean, optional)
- `core_answer` (`listCallBookings.response.default.core_answer`; string, optional)


Source: https://docs.sherpo.io/merchant-api/reference/list-call-bookings/index.md
