cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

issue Subscribing to Order Checkout Notifications via RESTful Notification API

Hello ,

We are trying to subscribe to webhook notifications for when an order is paid and checkout is complete, using the RESTful Notification API (/commerce/notification/v1/).

We have been attempting to use the topicId ORDER_CHECKOUT_COMPLETE. However, we are encountering the following issues:

  1. A GET request to /commerce/notification/v1/topic/ORDER_CHECKOUT_COMPLETE returns a 404 Not Found error.
  2. This topicId is also not listed in the response from GET /commerce/notification/v1/topic (getTopics).
  3. When attempting to create a subscription via POST /commerce/notification/v1/subscription with the payload:
    unfold_lessjson
    content_copyadd
    { "destinationId": "YOUR_VALIDATED_DESTINATION_ID_HERE", "topicId": "ORDER_CHECKOUT_COMPLETE", "schemaVersion": "1.0", "status": "ENABLED" } we receive a 400 Bad Request error with the message: {"errors":[{"errorId":195008,"domain":"API_NOTIFICATION","category":"REQUEST","message":"Invalid or missing schema version. Please refer to /topic/{topic_id} for supported schema versions."}]}.

We have successfully configured and validated our destination endpoint, and it works correctly for other topicIds like MARKETPLACE_ACCOUNT_DELETION (using schemaVersion: "1.0"). Our application has a comprehensive set of OAuth scopes, including https://api.ebay.com/oauth/api_scope/commerce.notification.subscription and https://api.ebay.com/oauth/api_scope/sell.fulfillment.

Could you please clarify:

  • Is ORDER_CHECKOUT_COMPLETE the correct topicId to use for receiving notifications about paid and completed orders via the RESTful Notification API in the Production environment?
  • If so, what is the correct schemaVersion to use for this topic?
  • If ORDER_CHECKOUT_COMPLETE is not the correct topicId, could you please provide the correct one and its supported schemaVersion?
  • Is there any other prerequisite or specific configuration needed to subscribe to order-related notifications?

We are looking for a RESTful webhook solution to be notified of new paid orders.

Thank you for your assistance.

Message 1 of 1
latest reply
0 REPLIES 0