---
title: "Reads one call booking."
---

> 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}/call_bookings/{booking}`

## Authentication

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

## Path parameters

- `store` (`getCallBooking.path.store`; string, required) — The store's id.
- `booking` (`getCallBooking.path.booking`; string, required)
  - minLength 1

## Code samples

### cURL

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

### TypeScript

```typescript
const url = 'https://api.sherpo.io/merchant/v1/stores/<store>/call_bookings/<booking>';
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>/call_bookings/<booking>"

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

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

print(response.text)
```

## Responses

### 200

Reads one call booking.

#### Example

```json
{
  "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"
}
```

- `meeting` (`getCallBooking.response.200.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` (`getCallBooking.response.200.customer_id`; string, required)
- `order_id` (`getCallBooking.response.200.order_id`; any of, required)
  - any of: `string`, `null`
- `order_item_id` (`getCallBooking.response.200.order_item_id`; any of, required)
  - any of: `string`, `null`
- `amount` (`getCallBooking.response.200.amount`; any of, required) — What its order line charged, after discounts; null without `revenue:read`.
  - any of: `number`, `null`
- `refundable` (`getCallBooking.response.200.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` (`getCallBooking.response.200.currency`; any of, required)
  - any of: `string`, `null`
- `exponent` (`getCallBooking.response.200.exponent`; any of, required)
  - any of: `number`, `null`
- `cancel_message` (`getCallBooking.response.200.cancel_message`; any of, required) — The seller's words to the customer when they canceled it; null otherwise.
  - any of: `string`, `null`
- `conflict` (`getCallBooking.response.200.conflict`; boolean, required) — Whether money that came after its hold lapsed booked it over another call, for the seller to move.
- `refund` (`getCallBooking.response.200.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` (`getCallBooking.response.200.refunds`; array<object>, required) — One refund per payment of its order, worst first.
  - `id` (`getCallBooking.response.200.refunds.id`; string, required)
  - `product_id` (`getCallBooking.response.200.refunds.product_id`; string, required)
  - `customer_id` (`getCallBooking.response.200.refunds.customer_id`; string, required)
  - `order_id` (`getCallBooking.response.200.refunds.order_id`; string, required)
  - `settlement_id` (`getCallBooking.response.200.refunds.settlement_id`; string, required)
  - `status` (`getCallBooking.response.200.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` (`getCallBooking.response.200.refunds.amount`; any of, required)
    - any of: `number`, `null`
  - `currency` (`getCallBooking.response.200.refunds.currency`; string, required)
  - `exponent` (`getCallBooking.response.200.refunds.exponent`; any of, required)
    - any of: `number`, `null`
  - `failure` (`getCallBooking.response.200.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` (`getCallBooking.response.200.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` (`getCallBooking.response.200.refunds.processor_ref`; any of, required)
    - any of: `string`, `null`
  - `refunded_at` (`getCallBooking.response.200.refunds.refunded_at`; any of, required)
    - any of: `string`, `null`
  - `created_at` (`getCallBooking.response.200.refunds.created_at`; string, required)
  - `customer` (`getCallBooking.response.200.refunds.customer`; any of, required) — Who it gives back to, `erased` once their details are wiped.
    - any of: `object`, `null`
- `customer` (`getCallBooking.response.200.customer`; any of, required)
  - any of: `object`, `null`
- `id` (`getCallBooking.response.200.id`; string, required)
- `product_id` (`getCallBooking.response.200.product_id`; string, required)
- `status` (`getCallBooking.response.200.status`; string, required)
- `starts_at` (`getCallBooking.response.200.starts_at`; any of, required)
  - any of: `string`, `null`
- `ends_at` (`getCallBooking.response.200.ends_at`; any of, required)
  - any of: `string`, `null`
- `time_zone` (`getCallBooking.response.200.time_zone`; any of, required) — The host's time zone, which the call's hours are set in.
  - any of: `string`, `null`
- `change_until` (`getCallBooking.response.200.change_until`; any of, required) — Until when its customer may still move or cancel it.
  - any of: `string`, `null`
- `reschedules` (`getCallBooking.response.200.reschedules`; number, required) — How many times its customer moved it; a seller's moves spend none.
- `reschedules_left` (`getCallBooking.response.200.reschedules_left`; number, required)
- `rescheduled_from` (`getCallBooking.response.200.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` (`getCallBooking.response.200.refund_until`; any of, required) — Until when a cancel refunds it; null when none does.
  - any of: `string`, `null`
- `cancel_reason` (`getCallBooking.response.200.cancel_reason`; any of, required)
  - any of: `string`, `null`
- `canceled_at` (`getCallBooking.response.200.canceled_at`; any of, required)
  - any of: `string`, `null`
- `refund_owed` (`getCallBooking.response.200.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` (`getCallBooking.response.200.created_at`; any of, required)
  - any of: `string`, `null`
- `updated_at` (`getCallBooking.response.200.updated_at`; any of, required)
  - any of: `string`, `null`

### 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` (`getCallBooking.response.default.type`; string, required)
  - format `uri`
- `title` (`getCallBooking.response.default.title`; string, required)
- `status` (`getCallBooking.response.default.status`; integer, required)
- `detail` (`getCallBooking.response.default.detail`; string, required)
- `code` (`getCallBooking.response.default.code`; string, optional)
- `context` (`getCallBooking.response.default.context`; object, optional)
- `reached_core` (`getCallBooking.response.default.reached_core`; boolean, optional)
- `core_answer` (`getCallBooking.response.default.core_answer`; string, optional)


Source: https://docs.sherpo.io/merchant-api/reference/get-call-booking/index.md
