question

*db_stores* avatar image
0 Likes"
*db_stores* asked ·

Is the cancellation api working?

Hi, Is the cancellation api currently working? I haven't used it before but all my api calls are returning a response saying that the "Page Not Responding"? Or is my code incorrect?: url = ' https://api.ebay.com/post-order/v2/cancellation/' headers = {'Authorization': 'TOKEN ' + YOUR_AUTH_TOKEN, 'Content-Type': 'application/json', 'X-EBAY-C-MARKETPLACE-ID': 'EBAY_GB'} payload = {"legacyOrderId": order_id, "cancelReason": "ADDRESS_ISSUE", "buyerPaid": 'true' } response = requests.post(url, headers=headers, json=payload) Many thanks
python
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.

1 Answer

· Write an Answer
ankit_developersupport avatar image
0 Likes"
ankit_developersupport answered ·
Hi @*db_stores* , Go through the document: https://developer.ebay.com/devzone/post-order/post-order_v2_cancellation__post.html Hope the above will help you!!! Best Regards, eBay Developer Support
· Share
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.

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.