Home
Find the answer to your question
Why am I getting the following error when I try to make a CompleteSale call?
<Errors>
<ShortMessage>Invalid ItemID or TransactionID</ShortMessage>
<LongMessage>Invalid ItemID or TransactionID</LongMessage>
<ErrorCode>20822</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
Summary
When you make a call to CompleteSale, you need to specify the ItemID and the
TransactionID. For items with the Chinese ListingType (single quantity
auction items), the TransactionID is always 0. For other types, it is a
non-zero value, even for single quantity items. You can make a call to
GetSellerTransactions / GetItemTransactions and find out the TransactionID.
<?xml version="1.0" encoding="utf-8"?>
<CompleteSaleRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Version>505</Version>
<ItemID>110017116452</ItemID>
<TransactionID>8136282001</TransactionID>
<FeedbackInfo>
<CommentText>Great transaction, great buyer!</CommentText>
<CommentType>Positive</CommentType>
<TargetUser>buyerid</TargetUser>
</FeedbackInfo>
<Shipped>true</Shipped>
<Paid>true</Paid>
<RequesterCredentials>
<eBayAuthToken>*****</eBayAuthToken>
</RequesterCredentials>
</CompleteSaleRequest>
Version Info
The code example above was based on the versions specified below:
API Schema Version | 505 |