API Webhook: Subscriptions - Changes Synced
Introduction
This article explains the Subscriptions - Changes Synced webhook. The Platform sends it to your endpoint when a Microsoft Subscription is changed in Microsoft Partner Center and the change is synchronized to the Platform. It describes when the webhook is triggered, how to configure it and what the payload contains. In the Notification Settings section, you (Seller Admin) can configure this webhook.
This article is intended for Distributors and Sellers.
NOTE! This webhook is available for Microsoft Subscriptions only. It has no email notification.
In this article:
- Overview
- When the webhook is triggered
- How to configure the webhook
- Webhook payload
- Summary
- Related content
Overview
Changes made to a Subscription through an Order placed in the Platform trigger the Subscriptions - Changes Successful webhook. Changes made directly in Microsoft Partner Center did not trigger any webhook, even though the Platform updated the Subscription after synchronization.
The Subscriptions - Changes Synced webhook closes this gap. It lets your system react to Subscription changes that originate in Microsoft Partner Center, for example a change of Quantity.
The payload has the same structure as in Subscriptions - Changes Successful. The only addition is the SubscriptionEventId field, which references the Subscription event related to the change.
When the webhook is triggered
The Platform sends the webhook when a Subscription is changed in Microsoft Partner Center and the change is synchronized to the Platform. The webhook is sent for both a synchronization of all Customers and a synchronization of a single Customer. It is not sent for changes made through an Order placed in the Platform.
The webhook is sent when any of the following changes:
- Subscription name - the Subscription title or identifier is modified;
- Quantity of Licenses - the number of Licenses is increased or decreased;
- Subscription status - the status changes, for example from Enabled to Disabled;
- Billing Frequency - the billing cycle changes, for example from monthly to yearly;
- Auto-Renewal - automatic Renewal is turned on or off;
- Scheduled action type - the action planned for the end of the Term changes, for example from On (Renew To New Term) to Off (Cancel).
Each webhook contains the previous and the current value, so you can see exactly what changed.
How to configure the webhook
The webhook is configured in the same way as all other Platform webhooks. You can configure it at the Seller level, the Distributor level, or both. The two configurations are independent: if both are set, the Platform sends a separate webhook to each endpoint.
To configure the webhook:
- Go to Settings.
- Choose Notification Settings.
- Click the Events tab.
- Select the SubscriptionChangesSynced event and click Edit.
- Choose the Webhook tab.
- Fill in the fields described below.
- Click Save.
| Field | Description | Required |
|---|---|---|
| URL | Endpoint that receives the webhook payload | Yes |
| Authorization Header | Optional value used for authentication | No |
| Content Type | Payload format: application/json or application/x-www-form-urlencoded
|
Yes |
For more details about webhook configuration, see Platform Webhooks Guide for Partners.
Webhook payload
TemplateName: SubscriptionChangesSynced
The payload has the same structure as all other Platform webhooks. For the common fields, see Platform Webhooks Guide for Partners. TemplateLoopData and TemplateNestedLoopData are empty objects, because all data is in TemplateData.
The example below uses mock data. It shows a change of Quantity from 7 to 8.
{
"Subject": null,
"TemplateName": "SubscriptionChangesSynced",
"TemplateData": {
"BaseColor": "#BE123C",
"ButtonFontColor": "#ffffff",
"DomainMainLogoUrl": "https://example.com/logo.png",
"HostOrganizationAdminEmail": "admin@example.com",
"ResellerName": "Example Seller",
"PortalName": "Example Portal",
"PortalUrl": "portal.example.com",
"DistributorLogoUrl": "https://example.com/distributor-logo.png",
"DistributorId": "12345678-1234-1234-1234-123456789012",
"ResellerId": "23456789-2345-2345-2345-234567890123",
"ResellerErpId": "ERP-12345",
"CustomerId": "34567890-3456-3456-3456-345678901234",
"CustomerName": "Example Customer",
"SubscriptionId": "45678901-4567-4567-4567-456789012345",
"SubscriptionName": "Microsoft 365 Business Premium",
"OrderId": "56789012-5678-5678-5678-567890123456",
"OrderItemId": "67890123-6789-6789-6789-678901234567",
"OrderDate": "13-11-2026",
"SubscriptionEventId": "78901234-7890-7890-7890-789012345678",
"PreviousSubscriptionName": "Microsoft 365 Business Premium",
"PreviousQuantity": "7",
"PreviousStatus": "Enabled",
"PreviousBillingFrequency": "Every 1 month",
"PreviousAutoRenewEnabled": "ON",
"CurrentSubscriptionName": "Microsoft 365 Business Premium",
"CurrentQuantity": "8",
"CurrentStatus": "Enabled",
"CurrentBillingFrequency": "Every 1 month",
"CurrentAutoRenewEnabled": "ON",
"PreviousScheduledActionType": "On (Renew To New Term)",
"CurrentScheduledActionType": "On (Renew To New Term)"
},
"TemplateLoopData": {},
"TemplateNestedLoopData": {},
"AuditId": "89012345-8901-8901-8901-890123456789"
}Specific TemplateData fields
All values are sent as strings, including Quantity.
| Field | Type | Description |
|---|---|---|
CustomerName |
string | Full name of the Customer |
SubscriptionId |
string (GUID) | Unique identifier of the Subscription |
SubscriptionName |
string | Name of the Subscription |
OrderId |
string (GUID) | Reference identifier of the synchronized change. No Order is placed in the Platform for a synchronized change |
OrderItemId |
string (GUID) | Reference identifier of the synchronized change, sent together with OrderId
|
OrderDate |
string | Date related to the reference, in the date format of the tenant |
SubscriptionEventId |
string (GUID) | Unique identifier of the Subscription event related to the change |
PreviousSubscriptionName |
string | Subscription name before the change |
PreviousQuantity |
string | Quantity before the change |
PreviousStatus |
string | Subscription status before the change, for example Enabled or Disabled |
PreviousBillingFrequency |
string | Billing Frequency before the change, for example Every 1 month |
PreviousAutoRenewEnabled |
string | Auto-Renewal before the change: ON or OFF |
PreviousScheduledActionType |
string | Scheduled action before the change, for example On (Renew To New Term) or Off (Cancel) |
CurrentSubscriptionName |
string | Subscription name after the change |
CurrentQuantity |
string | Quantity after the change |
CurrentStatus |
string | Subscription status after the change, for example Enabled, Disabled or Deleted |
CurrentBillingFrequency |
string | Billing Frequency after the change, for example Every 1 month |
CurrentAutoRenewEnabled |
string | Auto-Renewal after the change: ON or OFF |
CurrentScheduledActionType |
string | Scheduled action after the change, for example On (Renew To New Term) or Off (Cancel) |
Summary
The Subscriptions - Changes Synced webhook informs your system about Microsoft Subscription changes made in Microsoft Partner Center and synchronized to the Platform. It covers changes of name, Quantity, status, Billing Frequency, Auto-Renewal and scheduled action type. You configure it in Settings, Notification Settings, Events, in the same way as other webhooks. The payload contains the previous and current values and the SubscriptionEventId reference.
Add comment
Please sign in to leave a comment.