{
"notes": "subscription for sp-traffic",
"clientRequestToken": "1234-5678-910-11-12-12-12-12-12",
"dataSetId": "sp-traffic",
"destinationArn": "arn:aws:sqs:us-east-1:379073720614:EF-Test-2-sp-traffic"
}
curl --location --request POST 'https://www.amazon.com/ap/oa/streams/subscriptions' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Amazon-Advertising-API-Scope: {{profileId}}' \
--header 'Accept: application/vnd.MarketingStreamSubscriptions.StreamSubscriptionResource.v1.0+json' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/vnd.MarketingStreamSubscriptions.StreamSubscriptionResource.v1.0+json' \
--data-raw '{
"notes": "subscription for sp-traffic",
"clientRequestToken": "1234-5678-910-11-12-12-12-12-12",
"dataSetId": "sp-traffic",
"destinationArn": "arn:aws:sqs:us-east-1:379073720614:EF-Test-2-sp-traffic"
}'
{
"clientRequestToken": "stream-sp-traffic-test-123456",
"subscriptionId": "xxxxxxxxxxxxxxx"
}