API Reference

Destinations Bilgilerini Alma

Tüm Destination bilgilerini almak için kullanılan servistir.

Servisin Uzantısı : GET /notifications/v1/destinations


curl --location 'https://sellingpartnerapi-eu.amazon.com/notifications/v1/destinations' \
--header 'x-amz-access-token: {{grantless_token}}'
{
    "payload": [
        {
            "resource": {
                "sqs": {
                    "arn": "arn:aws:sqs:eu-west-1:********:SCFODTEST1"
                },
                "eventBridge": null,
                "privateSqs": null
            },
            "destinationId": "27212653-e481-4121-95d5-*********",
            "name": "SCFODTEST1"
        },
        {
            "resource": {
                "sqs": null,
                "eventBridge": {
                    "name": "aws.partner/sellingpartnerapi.amazon.com/3761102****/amzn1.sp.solution.8591b031-e6aa-4841-bf1a-****",
                    "accountId": "37611022*****",
                    "region": "eu-west-1"
                },
                "privateSqs": null
            },
            "destinationId": "70877fcf-9211-4e4b-9f7a-******",
            "name": "sp-api"
        },
        {
            "resource": {
                "sqs": {
                    "arn": "arn:aws:sqs:us-east-1:37611******:sp-api"
                },
                "eventBridge": null,
                "privateSqs": null
            },
            "destinationId": "1ea5dcc2-4171-4e07-af40-*********",
            "name": "sp-api"
        }
    ]
}
{
    "errors": [
        {
            "code": "Unauthorized",
            "message": "Access to requested resource is denied.",
            "details": "The access token you provided is revoked, malformed or invalid."
        }
    ]
}