---
title: "Get subscription changes"
method: GET
path: "/subscriptions/{id}/changes"
tags: ["Subscriptions"]
---

# Get subscription changes

`GET /subscriptions/{id}/changes`

Returns a log of changes made to the subscription through the API.

## Path parameters

- `id` string, required

## Query parameters

- `Offset` integer
- `Limit` integer

## Response `200`

When request is successful. Returns a paged collection of 'SubscriptionAudit' objects.

- SubscriptionAuditPagedCollection
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable
  - `self` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `value` SubscriptionAudit[], nullable
    - `type` string — The subscription change type. * Updated * AddOnAdded * AddOnRemoved * PromotionApplied * PromotionRemoved * Canceled * Resumed * PaymentMethodAdded * PaymentMethodRemoved * PaymentMethodSetAsDefault * QuantityUpdated * Created * Advanced
    - `accountId` string, nullable — The Smokeball firm id.
    - `subscriptionId` string, nullable — The subscription id.
    - `name` string, nullable — Name of the field that was changed or the type of change that was made
    - `value` string, nullable — The value of the change, which can be a string representation of the new value or a JSON object for complex changes.
    - `timestamp` string, date-time — The timestamp of the change.
  - `offset` integer, nullable
  - `limit` integer, nullable
  - `size` integer
  - `first` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `previous` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `next` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `last` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable

## Other responses

- `500` — When an error occurs while retrieving subscription changes.

---

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