Hello team, I am integrating Ebay API in my application. I have developer account in Ebay. I want to add Orders. I found "AddOrder" Method in API. But , I am stuck with the thing that We need following things to create order on ebay:- 1). 2 ItemId 2). 2 TransactionId Please can you let me know :- 1). How can I get TransactionID? I mean when is this Id generated? 2). Appropriate method to create Order. Please reply ASAP. Thanks.
@archana_parmar1 AddOrder API is used to combine to existing orders, which is why you need item ID (eBay generated ID when you list an item) and transaction id (eBay generated ID when someone purchase an item) . This is used for when buyer or seller wants to add 2 already purchased item together so they can take advantage on features such as combine shipping. This API call is not use to place an order If you would like to purchase an item using API, there is a few options: 1) [Place Offer] is available for anyone in sandbox. However in production you must go through the process for approval in eBay Partner Network 2) We have a new [Buying API] which available in Beta after developer gets whitelisted. However you may test the functionality in sandbox. Please let us know if this is for sandbox or production, and provide more detail about your use case :
Hi @catherine_developersupport I appreciate your fast reply. I tried above suggestions but none of these solved my issue. I am still stuck with Adding Orders. Is there any way to Add order in API? If it is, can you guide me on that? Thanks.
@archana_parmar1, Are you trying to combine 2 existing orders or purchase items? If purchase items please go through the documentations listed above. As mentioned, for both Buying and Place Order you can test in sandbox. If you are still having issue, you may file a ticket at [Developer Portal], give us some detail on your purpose, which API you are trying to call, and exactly what the error was. :
Hi @catherine_developersupport, I am developing an application in which I want to retrieve orders. I have done that part using a function GetOrders() and want to test it now. So, I need orders that I can fetch. For that, I want to create some orders. Apparently, I tried so many methods like AddOrder() etc. But nothing worked. So I want that you guide me through the appropriate method to create orders. Thanks.
@archana_parmar1, If you simply want to test out GetOrders functionality, the easiest way is to list some items in the sandbox environment using a test user ID. Then create an other test sandbox account to buy the item you've just created via the web flow. To create eBay sandbox users:
https://developer.ebay.com/sandbox/register To create sandbox PayPal account:
https://developer.paypal.com/developer/accounts/ Please let me know if you have other questions