Skip to content

Commit 059c4a2

Browse files
Merge pull request #208135 from dannyevers/74118-webhook
74118-webhook
2 parents a5310bb + fc1df44 commit 059c4a2

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

articles/marketplace/partner-center-portal/pc-saas-fulfillment-operations-api.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to use the Operations APIs, which are part of the SaaS Fu
44
ms.service: marketplace
55
ms.subservice: partnercenter-marketplace-publisher
66
ms.topic: reference
7-
ms.date: 03/07/2022
7+
ms.date: 08/24/2022
88
author: arifgani
99
ms.author: argani
1010
---
@@ -13,6 +13,10 @@ ms.author: argani
1313

1414
This article describes version 2 of the SaaS fulfillment operations APIs.
1515

16+
Operations are useful to respond to any requests that come through the webhook as part of ChangePlan, ChangeQuantity, and ReInstate actions. This provides an opportunity to accept or reject a request by patch that webhook operation with Success or Failure by using the below APIs.
17+
18+
This only applies to webhook events such as ChangePlan, ChangeQuantity, and ReInstate that need an ACK. No action is needed from the independent software vendor (ISV) on Renew, Suspend, and Unsubscribe events because they are notify-only events.
19+
1620
## List outstanding operations
1721

1822
Get list of the pending operations for the specified SaaS subscription. The publisher should acknowledge returned operations by calling the [Operation Patch API](#update-the-status-of-an-operation).

articles/marketplace/partner-center-portal/pc-saas-fulfillment-webhook.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to implement a webhook on the SaaS service by using the f
44
ms.service: marketplace
55
ms.subservice: partnercenter-marketplace-publisher
66
ms.topic: reference
7-
ms.date: 06/14/2022
7+
ms.date: 08/24/2022
88
author: arifgani
99
ms.author: argani
1010
---
@@ -18,10 +18,10 @@ When creating a transactable SaaS offer in Partner Center, the partner provides
1818
* ChangeQuantity
1919
* Renew
2020
* Suspend
21-
* Unsubscribe
21+
* Unsubscribe (notify only, no ACK needed)
2222
* When SaaS subscription is in *Suspended* status:
2323
* Reinstate
24-
* Unsubscribe
24+
* Unsubscribe (notify only, no ACK needed)
2525

2626
The publisher must implement a webhook in the SaaS service to keep the SaaS subscription status consistent with the Microsoft side. The SaaS service is required to call the Get Operation API to validate and authorize the webhook call and payload data before taking action based on the webhook notification. The publisher should return HTTP 200 to Microsoft as soon as the webhook call is processed. This value acknowledges that the webhook call has been received successfully by the publisher.
2727

@@ -232,6 +232,8 @@ The publisher must implement a webhook in the SaaS service to keep the SaaS subs
232232

233233
*Webhook payload example of unsubscribe event:*
234234

235+
This is a notify only event. There is no send to ACK for this event.
236+
235237
```json
236238
{
237239
"id": "<guid>",

0 commit comments

Comments
 (0)