Spesifik destination bilgisini almak amacıyla kullanılır.
Servis Uzantısı : GET /notifications/v1/destinations/{destinationId}
- Saniyede 1 istek atabilirsiniz.
- Bu servis, grantless bir operasyondur. Bundan dolayı grantless token kullanmanız gerekmektedir. Grantless Token için bakabilirsiniz.
curl --location --request DELETE 'https://sellingpartnerapi-eu.amazon.com/notifications/v1/destinations/8be3c3f5-ad3d-493e-9982-*************' \
--header 'x-amz-access-token: {{grantless_token}}''
{
"payload": {
"resource": {
"sqs": {
"arn": "arn:aws:sqs:eu-west-1:461398***********:xxxxx"
},
"eventBridge": null,
"privateSqs": null
},
"destinationId": "cfb342a6-2ce6-421a-aa8a-************",
"name": "xxxxx"
}
}
{
"errors": [
{
"code": "NotFound",
"message": "The requested resource doesn\u0027t exist.",
"details": "Unable to find destination 8be3c3f5-ad3d-493e-9982-************ for application amzn1.sp.solution.8591b031-e6aa-4841-bf1a-*******************"
}
]
}