- Overview
- Authorization Workflow
- Permissions
- Sandbox
- API Models
- Available API Models
- Request Apidog Access
- OPENAPI SPECIFICATION
- Research Docs
- Amazon Warehousing and Distribution
- Authorization
- Catalog Items
- Catalog [Deprecated]
- Definitions
- Easy Ship
- FBAInbound
- listInboundPlans
- createInboundPlan
- getInboundPlan
- listInboundPlanBoxes
- cancelInboundPlan
- listInboundPlanItems
- updateInboundPlanName
- listPackingGroupBoxes
- listPackingGroupItems
- setPackingInformation
- listPackingOptions
- generatePackingOptions
- confirmPackingOption
- listInboundPlanPallets
- listPlacementOptions
- generatePlacementOptions
- confirmPlacementOption
- getShipment
- listShipmentBoxes
- listShipmentContentUpdatePreviews
- generateShipmentContentUpdatePreviews
- getShipmentContentUpdatePreview
- confirmShipmentContentUpdatePreview
- getDeliveryChallanDocument
- listDeliveryWindowOptions
- generateDeliveryWindowOptions
- confirmDeliveryWindowOptions
- listShipmentItems
- updateShipmentName
- listShipmentPallets
- cancelSelfShipAppointment
- getSelfShipAppointmentSlots
- generateSelfShipAppointmentSlots
- scheduleSelfShipAppointment
- updateShipmentSourceAddress
- updateShipmentTrackingDetails
- listTransportationOptions
- generateTransportationOptions
- confirmTransportationOptions
- listItemComplianceDetails
- updateItemComplianceDetails
- createMarketplaceItemLabels
- listPrepDetails
- setPrepDetails
- getInboundOperationStatus
- getItemEligibilityPreview
- FBAInventory
- FBAOutbound
- Feeds
- Fees
- Finance
- Invoices [Brazil]
- Listings Items
- Merchant Fulfillment
- Orders
- ProductPricing
- Reports
- Sales
- Sellers
- Service
- getServiceJobByServiceJobId
- cancelServiceJobByServiceJobId
- completeServiceJobByServiceJobId
- getServiceJobs
- addAppointmentForServiceJobByServiceJobId
- rescheduleAppointmentForServiceJobByServiceJobId
- assignAppointmentResources
- setAppointmentFulfillmentData
- getRangeSlotCapacity
- getFixedSlotCapacity
- updateSchedule
- createReservation
- updateReservation
- cancelReservation
- getAppointmmentSlotsByJobId
- getAppointmentSlots
- createServiceDocumentUploadDestination
- ShipmentInvoice[Brazil]
- Shipping
- getRates
- createShipment
- directPurchaseShipment
- getShipment
- purchaseShipment
- cancelShipment
- oneClickShipment
- purchaseLabels
- getTracking
- retrieveShippingLabel
- getShipmentDocuments
- purchaseShipment
- cancelShipment
- getRates
- getAdditionalInputs
- getAccount
- getCarrierAccountFormInputs
- getTrackingInformation
- getCarrierAccounts
- linkCarrierAccount
- unlinkCarrierAccount
- generateCollectionForm
- getCollectionFormHistory
- getUnmanifestedShipments
- getCollectionForm
- getAccessPoints
- Supply Sources
- Tokens
- Uploads
- Notifications
createSubscription
POST
/notifications/v1/subscriptions/{notificationType}
notifications
Last modified:2024-12-09 09:05:16
Maintainer:Not configured
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.Request
Path Params
notificationType
stringÂ
required
Body Params application/json
The request schema for the `createSubscription` operation.
payloadVersion
stringÂ
required
destinationId
stringÂ
required
processingDirective
object (ProcessingDirective)Â
optional
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.eventFilter
object (EventFilter)Â
optional
notificationType
specific filter. This object contains all of the currently available filters and properties that you can use to define a notificationType
specific filter.Example
{
"payloadVersion": "string",
"destinationId": "string",
"processingDirective": {
"eventFilter": {
"aggregationSettings": {
"aggregationTimePeriod": "FiveMinutes"
},
"marketplaceIds": [
"string"
],
"orderChangeTypes": [
"OrderStatusChange"
],
"eventFilterType": "ANY_OFFER_CHANGED"
}
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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"
}
}
}'
Responses
🟢200OK
application/json
Headers
x-amzn-RateLimit-Limit
stringÂ
optional
x-amzn-RequestId
stringÂ
optional
Body
The response schema for the `createSubscription` operation.
payload
object (Subscription)Â
optional
subscriptionId
stringÂ
required
payloadVersion
stringÂ
required
destinationId
stringÂ
required
processingDirective
object (ProcessingDirective)Â
optional
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.errors
array[object (Error) {3}]Â
optional
code
stringÂ
required
message
stringÂ
required
details
stringÂ
optional
Example
{
"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"
}
]
}
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
🟠409409
🟠413413
🟠415415
🟠429429
🔴500Server Error
🔴503Service Unavailable