question

staskamyshov avatar image
0 Likes"
staskamyshov asked

Create subscription for notification

I created a URL to receive event notifications via API using the command https://api.ebay.com/commerce/notification/v1/destination Now I try to subscribe to notifications, but an error occurs.

POST https://api.ebay.com/commerce/notification/v1/subscription

Body:
{"topicId":"MARKETPLACE_ACCOUNT_DELETION","status":"ENABLED","destinationId":"e3bfbc30-2da3-4fa9-acb9-a46c7af867ae","payload":{"format":"JSON","schemaVersion":"1.0","deliveryProtocol":"HTTPS"}}

Response:
{"errors":[{"errorId":195011,"domain":"API_NOTIFICATION","category":"REQUEST","message":"Not authorized for this topic."}]}


Where can I find a list of topics? What it is?

subscriptiontopics
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.