---
title: "Reads an event's cancellation and its refunds by status; null while the event stands."
---

> 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 › product

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

## Authentication

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

## Path parameters

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

## Code samples

### cURL

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

### TypeScript

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

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

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

print(response.text)
```

## Responses

### 200

Reads an event's cancellation and its refunds by status; null while the event stands.

#### Example

```json
{
  "product_id": "string",
  "canceled_at": "string",
  "subscriptions": 0,
  "finished_at": "string",
  "removed": [
    {
      "id": "string",
      "starts_at": "string",
      "ends_at": "string",
      "time_zone": "string",
      "venue": "string",
      "online_label": "string"
    }
  ],
  "refunds": {
    "pending": 0,
    "failed": 0,
    "manual": 0,
    "refunded": 0
  }
}
```

Any of:

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


Source: https://docs.sherpo.io/merchant-api/reference/get-event-cancellation/index.md
