How to recognize whether CANCEL notification means "cancel" or "upgrade"

I am confused by Apple docs about CANCEL notification_type https://developer.apple.com/documentation/appstoreservernotifications/notification_type.

They state

CANCEL
Indicates that either Apple customer support canceled the subscription or the user upgraded their subscription. (...)

and


Handle Use Cases for Notification Events:

  • Subscription is active; user upgraded to another SKU ---> CANCEL, DIDCHANGERENEWALSTATUS, INTERACTIVERENEWAL

  • AppleCare refunded a subscription ---> CANCEL, DIDCHANGERENEWAL_STATUS

How would I know whether notification is coming after Apple cancels/refunds subscription or user upgrades subscription?




If you check the documentation today (20210426) you'll see that now there is no CANCEL notification after an upgrade:

CANCEL
Indicates that Apple Support canceled the auto-renewable subscription and the customer received a refund as of the timestamp in cancellation_date_ms.

Subscription is active; customer upgraded to another SKU: DID_CHANGE_RENEWAL_STATUS, INTERACTIVE_RENEWAL
How to recognize whether CANCEL notification means "cancel" or "upgrade"
 
 
Q