createDestination
operation. In cases where the specified notification type supports multiple payload versions, you can utilize this API to subscribe to a different payload version if you already have an existing subscription for a different payload version.Rate (requests per second) | Burst |
---|---|
1 | 5 |
x-amzn-RateLimit-Limit
response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.eventFilter
to customize your subscription to send notifications for only the specified marketplaceId
s, or select the aggregation time period at which to send notifications (for example: limit to one notification every five minutes for high frequency notifications). The specific features available vary depending on the notificationType
.ANY_OFFER_CHANGED
and ORDER_CHANGE
notificationType
s.notificationType
specific filter. This object contains all of the currently available filters and properties that you can use to define a notificationType
specific filter.{
"payloadVersion": "string",
"destinationId": "string",
"processingDirective": {
"eventFilter": {
"aggregationSettings": {
"aggregationTimePeriod": "FiveMinutes"
},
"marketplaceIds": [
"string"
],
"orderChangeTypes": [
"OrderStatusChange"
],
"eventFilterType": "ANY_OFFER_CHANGED"
}
}
}
curl --location --request POST 'https://sandbox.sellingpartnerapi-na.amazon.com/notifications/v1/subscriptions/' \
--header 'Content-Type: application/json' \
--data-raw '{
"payloadVersion": "string",
"destinationId": "string",
"processingDirective": {
"eventFilter": {
"aggregationSettings": {
"aggregationTimePeriod": "FiveMinutes"
},
"marketplaceIds": [
"string"
],
"orderChangeTypes": [
"OrderStatusChange"
],
"eventFilterType": "ANY_OFFER_CHANGED"
}
}
}'
eventFilter
to customize your subscription to send notifications for only the specified marketplaceId
s, or select the aggregation time period at which to send notifications (for example: limit to one notification every five minutes for high frequency notifications). The specific features available vary depending on the notificationType
.ANY_OFFER_CHANGED
and ORDER_CHANGE
notificationType
s.{
"payload": {
"subscriptionId": "string",
"payloadVersion": "string",
"destinationId": "string",
"processingDirective": {
"eventFilter": {
"aggregationSettings": {
"aggregationTimePeriod": "FiveMinutes"
},
"marketplaceIds": [
"string"
],
"orderChangeTypes": [
"OrderStatusChange"
],
"eventFilterType": "ANY_OFFER_CHANGED"
}
}
},
"errors": [
{
"code": "string",
"message": "string",
"details": "string"
}
]
}