customer.pending_cancellation
Triggered when a customer has requested cancellation but the cancellation is scheduled for a future date.
customer.pending_cancellation
customer.pending_cancellation
Payload Structure
{
"payload": {
"createdAt": "2025-05-30T11:20:43.043Z",
"merchantId": "inveterate",
"detail": {
"nextSegmentId": null,
"cancellationSource": "CUSTOMER",
"switchToFreeTier": null,
"cancelRequest": {
"createdAt": "2025-05-30T11:20:36.919Z",
"cancelDate": "2025-06-30T11:00:00Z",
"nextSegmentId": null,
"cancellationSource": "CUSTOMER",
"merchantId": "inveterate",
"billingTierId": "6a538edc",
"switchToFreeTier": false,
"contractId": "23578214531",
"customerId": "7733576892547",
"cancelToken": "15ae1f74-9555-456a-b003-da5ec076a48e",
"updatedAt": "2025-05-30T11:20:40.234Z",
"status": "PENDING_CANCELLATION"
},
"effectiveCancellationDate": "2025-06-30T11:00:00Z"
},
"updatedAt": "2025-05-30T11:20:43.043Z",
"customerId": "7733576892547"
},
"metadata": {
"id": "de453003ee3da27b9ac7543cb49f5e77",
"retryCount": 0,
"shopDomain": "inveterate.myshopify.com",
"topic": "customer.pending_cancellation",
"version": "2025-06",
"triggerredAt": "2025-05-30T11:20:44.093Z"
}
}
Payload Fields
payload
createdAt
(string): ISO timestamp when the event was createdmerchantId
(string): Merchant identifiercustomerId
(string): Customer identifierupdatedAt
(string): ISO timestamp when the event was last updateddetail
(object): Additional details about the pending cancellationnextSegmentId
(string|null): ID of the next segment (if applicable)cancellationSource
(string): Who initiated the cancellation (e.g., "CUSTOMER")switchToFreeTier
(boolean|null): Whether switching to free tier instead of complete cancellationeffectiveCancellationDate
(string): ISO timestamp when the cancellation will take effectcancelRequest
(object): Detailed information about the cancellation requestcreatedAt
(string): When the cancellation request was createdcancelDate
(string): When the cancellation will be effectivenextSegmentId
(string|null): Next segment IDcancellationSource
(string): Source of cancellationmerchantId
(string): Merchant identifierbillingTierId
(string): ID of the billing tier being cancelledswitchToFreeTier
(boolean): Whether to switch to free tiercontractId
(string): Contract ID being cancelledcustomerId
(string): Customer identifiercancelToken
(string): Unique cancellation tokenupdatedAt
(string): When the request was last updatedstatus
(string): Current status (e.g., "PENDING_CANCELLATION")
metadata
id
(string): Unique event identifierretryCount
(number): Number of retry attempts for this eventshopDomain
(string): Shopify domain of the merchanttopic
(string): Event topic nameversion
(string): API versiontriggerredAt
(string): ISO timestamp when the event was triggered
Last updated
Was this helpful?