---
title: "Subscription benefit action"
method: POST
path: "/2023-10/subscription/{subscriptionId}/benefitAction"
---

# Subscription benefit action

`POST /2023-10/subscription/{subscriptionId}/benefitAction`

This endpoint is used to log the acceptance or rejection of a subscription benefit offered to a user. It accepts the subscription benefitContentId and user decision as state inputs and logs the information into the system's database for analytics purposes.

## Path parameters

- `subscriptionId` integer, required

## Request body

- object
  - `benefitContentId` integer, required — The unique identifier of the benefit content that was shown to the subscriber.
  - `state` 'ACCEPTED' | 'REJECTED', required — Indicates whether the subscriber accepted or rejected the benefit offered during the retention flow.

## Response `200`

200

- object
  - `success` boolean — Indicates whether the request was successfully processed.
  - `message` string — A human-readable message describing the result of the operation.
  - `data` object — Additional response data returned by the system.
  - `code` string — Status code indicating the result of the operation.
  - `pageInfo` string — Additional metadata related to the response.

---

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