post
https://api.loopsubscriptions.com/storefront/2023-10/subscription//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.
Body parameters explained
benefitContentId- The unique identifier of the benefit content shown to the subscriber. This value is returned by the Subscription benefit page content API and is used to link the subscriber’s action to the specific benefit displayed.state- Represents the subscriber’s decision after viewing the benefit content.ACCEPTED- Subscriber accepts the benefit and keeps the subscription.REJECTED- Subscriber rejects the benefit and proceeds with cancellation.
