Why ShipmentTrackingNumber sent in CompleteSale is not returned in GetItemTransaction?
Find the answer to your question
Advanced Search
Products
Question
We get a success response to the CompleteSales request as below, but the ShipmentTrackingNumber specified in the request is not reflected in GetItemTransactions for the transaction in question. What is the problem? <CompleteSaleRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <ErrorLanguage>en_US</ErrorLanguage> <Version>1267</Version> <WarningLevel>High</WarningLevel> <TransactionID>0</TransactionID> <ItemID>120044281000</ItemID> <paid>true</paid> <Shipment> <ShipmentTrackingDetails> <ShipmentTrackingNumber>TY23765S21038917735</ShipmentTrackingNumber> </ShipmentTrackingDetails> </Shipment> <shipped>true</shipped> </CompleteSaleRequest>
Answer
Summary
The possible cause of the issue might be:
- The transaction is not yet checked out ( the buyer has not yet gone through the checkout process to pay the item).
<CheckoutStatus>CheckoutIncomplete</CheckoutStatus>
As documented : before you can call CompleteSale, an item that you created as a buyer must have gone through a sale (thus creating a transaction) and pay the item. Use GetItemTransactions or GetSellerTransactions to retrieve a list of the transactions that have checkedout as: <CheckoutStatus>CheckoutComplete</CheckoutStatus>.