Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You simply add several ItemIDs and TransactionIDs to one request like this (for php)</p> <pre><code>$item_id_1 = 1234567890; $item_id_2 = 0987654321; $feedback = 'Thanks for a smooth transaction!'; $transaction_id_1 = 771234567819; $transaction_id_2 = 770987654319; $requestXmlBody = '&lt;?xml version="1.0" encoding="utf-8" ?&gt;'; $requestXmlBody .= '&lt;CompleteSaleRequest xmlns="urn:ebay:apis:eBLBaseComponents"&gt;'; $requestXmlBody .= "&lt;ItemID&gt;$item_id_1&lt;/ItemID&gt;"; $requestXmlBody .= "&lt;ItemID&gt;$item_id_2&lt;/ItemID&gt;"; $requestXmlBody .= "&lt;FeedbackInfo&gt;"; $requestXmlBody .= "&lt;CommentText&gt;$feedback_text&lt;/CommentText&gt;"; $requestXmlBody .= "&lt;CommentType&gt;Positive&lt;/CommentType&gt;"; $requestXmlBody .= "&lt;/FeedbackInfo&gt;"; $requestXmlBody .= "&lt;Shipped&gt;true&lt;/Shipped&gt;"; $requestXmlBody .= "&lt;TransactionID&gt;$transaction_id_1&lt;/TransactionID&gt;"; $requestXmlBody .= "&lt;TransactionID&gt;$transaction_id_2&lt;/TransactionID&gt;"; $requestXmlBody .= "&lt;RequesterCredentials&gt;&lt;eBayAuthToken&gt;$userToken&lt;/eBayAuthToken&gt;&lt;/RequesterCredentials&gt;"; $requestXmlBody .= '&lt;/CompleteSaleRequest&gt;'; </code></pre> <p>I think it should also work if you use orderIDs instead! Please be aware that you cannot use multiple buyerUserIDs (for the recipient). Use only itemID/transactionID pairs.</p> <p>This is based off the eBay PHP sample code provided here:</p> <p><a href="https://ebay.custhelp.com/app/answers/detail/a_id/1876/~/getorders-php-code-sample" rel="nofollow">https://ebay.custhelp.com/app/answers/detail/a_id/1876/~/getorders-php-code-sample</a></p> <p>Just change the call to what you need!</p> <p>Hope this helps!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload