Update ACCOUNT_STATUS_CHANGED description

Updated the description of ACCOUNT_STATUS_CHANGED, added a link to
the notifications use case guide, and added the
PRODUCT_TYPE_DEFINITION_CHANGE notification type.
This commit is contained in:
Jack Evoniuk 2021-11-15 11:26:48 -08:00
parent 7f6d4a3d7f
commit 221763ddf1
1 changed files with 9 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{ {
"swagger": "2.0", "swagger": "2.0",
"info": { "info": {
"description": "The Selling Partner API for Notifications lets you subscribe to notifications that are relevant to a selling partner's business. Using this API you can create a destination to receive notifications, subscribe to notifications, delete notification subscriptions, and more.", "description": "The Selling Partner API for Notifications lets you subscribe to notifications that are relevant to a selling partner's business. Using this API you can create a destination to receive notifications, subscribe to notifications, delete notification subscriptions, and more.\n\nFor more information, see the [Notifications Use Case Guide](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/use-case-guides/notifications-api-use-case-guide/notifications-use-case-guide-v1.md)",
"version": "v1", "version": "v1",
"title": "Selling Partner API for Notifications", "title": "Selling Partner API for Notifications",
"contact": { "contact": {
@ -1938,7 +1938,8 @@
"LISTINGS_ITEM_ISSUES_CHANGE", "LISTINGS_ITEM_ISSUES_CHANGE",
"MFN_ORDER_STATUS_CHANGE", "MFN_ORDER_STATUS_CHANGE",
"B2B_ANY_OFFER_CHANGED", "B2B_ANY_OFFER_CHANGED",
"ACCOUNT_STATUS_CHANGED" "ACCOUNT_STATUS_CHANGED",
"PRODUCT_TYPE_DEFINITIONS_CHANGE"
], ],
"x-docgen-enum-table-extension": [ "x-docgen-enum-table-extension": [
{ {
@ -1981,6 +1982,10 @@
"value": "LISTINGS_ITEM_ISSUES_CHANGE", "value": "LISTINGS_ITEM_ISSUES_CHANGE",
"description": "Sent whenever there are issues change for any SKU that the selling partner has." "description": "Sent whenever there are issues change for any SKU that the selling partner has."
}, },
{
"value": "PRODUCT_TYPE_DEFINITIONS_CHANGE",
"description": "Sent whenever there is a new Product Type or a Product Type Version in a marketplace."
},
{ {
"value": "MFN_ORDER_STATUS_CHANGE", "value": "MFN_ORDER_STATUS_CHANGE",
"description": "Sent whenever there is a change in the status of an MFN order availability." "description": "Sent whenever there is a change in the status of an MFN order availability."
@ -1991,9 +1996,9 @@
}, },
{ {
"value": "ACCOUNT_STATUS_CHANGED", "value": "ACCOUNT_STATUS_CHANGED",
"description": "Sent whenever the Account Status changes for the developers subscribed merchant/marketplace pairs. A notification is published whenever the merchant's account status changes between NORMAL, WARNING, AT_RISK, and SUSPENDED.\n\n The notification will have a payload with 2 fields: previousAccountStatus and currentAccountStatus to indicate the direction of the change." "description": "Sent whenever the Account Status changes for the developers subscribed merchant/marketplace pairs. A notification is published whenever the merchant's account status changes between NORMAL, AT_RISK, and DEACTIVATED.\n\n The notification will have a payload with 2 fields: previousAccountStatus and currentAccountStatus to indicate the direction of the change."
} }
] ]
} }
} }
} }