question

$$anonymous$$ avatar image
0 Likes"
$$anonymous$$ Suspended asked

CreateShippingFulfillment need help

Hi i am trying to understand and get CreateShippingFulfillment to work. so far i got the Oauth token, 2 test users in sandbox(one has bought an item from the other). I need simply to implement the fulfill shipment. Premise questions: a) do i need the order to be in a particular state? I am trying to set the order as "payment has been received" through the seller sandbox account but it does not work. When i try to do it throught he dropdown menu, it sends me back to login and then back to the selling page with no effect. b) i got the orderlineid throught a previous apiexplorer call. it was like XXXXX-XXXXX. Is this a valid orderId identifier for the call? Cause in the examples it is something like XXXXX-XXXXX!XXXXX. Anyways i tried to make some calls(with my orderId) to the api but all i can get is a 500 internal error. I did this through api explore and my application with the same result. I even tried to change some parameters to see if the results would be different and correctly it returned 400 bad request. So is the "500 internal error" call actually well done and i can't simply do nothing about it or it could still be related to the syntax of my call?
shipment fulfillment
10 |600

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

1 Answer

·
zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered
Hi morphis80, The Fulfillment API covers only the transactions that have completed the checkout process. This includes both paid purchases and purchases that do not require upfront payment (such as COD). A Seller's sandbox account must be linked with an PayPal sandbox account so that when a buyer has checked out with PayPal for the item listed by the seller, the order will be automatically marked as Paid. If your eBay Sandbox seller has not linked with you PayPal Sandbox email, please provide the eBay Sandbox UserID and the PayPal sandbox email. The orderid like this XXXXX-XXXXX is a legacy [OrderID][1] in Trading API. You should use Fulfillment.getOrders call as https://api.sandbox.ebay.com/sell/fulfillment/v1/order?filter=creationdate:%5B2017-12-15T15:05:43.026Z..%5D&limit=50&offset=0 to get the orderId in [orders.orderId][2] field [1]: https://developer.ebay.com/Devzone/XML/docs/Reference/eBay/GetOrders.html#Request.OrderIDArray.OrderID [2]: https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrders#h2-output Best Regards,
10 |600

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.