Skip to main content
POST
/
subscriptions
/
cp
/
api
/
customer-retention-activities
Record a customer retention activity
curl --request POST \
  --url https://www.myshop.com/apps/subscriptions/cp/api/customer-retention-activities \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 123,
  "shop": "<string>",
  "contractId": 123,
  "activityOn": "2023-11-07T05:31:56Z",
  "retentionAction": "<string>",
  "cancellationReason": "<string>",
  "discountApplied": "<string>",
  "additionalInfo": "<string>"
}
'
{
  "id": 123,
  "shop": "<string>",
  "contractId": 123,
  "activityOn": "2023-11-07T05:31:56Z",
  "retentionAction": "<string>",
  "cancellationReason": "<string>",
  "discountApplied": "<string>",
  "additionalInfo": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
id
integer<int64>
shop
string
contractId
integer<int64>
activityOn
string<date-time>
retentionAction
string
cancellationReason
string
discountApplied
string
additionalInfo
string
eventSource
enum<string>
Available options:
PAUSE,
CANCELLATION

Response

200 - */*

OK

id
integer<int64>
shop
string
contractId
integer<int64>
activityOn
string<date-time>
retentionAction
string
cancellationReason
string
discountApplied
string
additionalInfo
string
eventSource
enum<string>
Available options:
PAUSE,
CANCELLATION