---
title: "Get Goodwill Requests"
method: GET
path: "/customers/{customerId}/goodwillRequest"
---

# Get Goodwill Requests

`GET /customers/{customerId}/goodwillRequest`

Retrieves the history of goodwill points of a customer.

## Path parameters

- `customerId` integer, required

## Query parameters

- `requestId` integer
- `is_one_step_change` boolean
- `programId` string
- `autoApprove` boolean

## Response `200`

200

- object
  - `pagination` object
    - `limit` integer
    - `offset` integer
    - `total` integer
  - `data` object[]
    - `id` integer
    - `addedBy` object
      - `id` integer
      - `code` string
      - `description` string
      - `name` string
      - `type` string
      - `adminType` string
      - `isActive` boolean
      - `isOuEnabled` boolean
      - `timeZoneId` integer
      - `currencyId` integer
      - `languageId` integer
    - `updatedBy` object
      - `id` integer
      - `code` string
      - `description` string
      - `name` string
      - `type` string
      - `adminType` string
      - `isActive` boolean
      - `isOuEnabled` boolean
      - `timeZoneId` integer
      - `currencyId` integer
      - `languageId` integer
    - `addedOn` string
    - `updatedOn` string
    - `userId` integer
    - `requestId` integer
    - `goodwillType` string
    - `goodwillStatus` string
    - `comments` string
    - `reason` string
    - `approvedValue` string
    - `updatedComments` string
    - `oneStep` boolean
  - `warnings` unknown[]
    - unknown
  - `errors` unknown[]
    - unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/versions/de241f2ed9b3/schema)
