Home
Find the answer to your question
How can I update transactions so that the buyer can get their tracking information, even if the shipping service is not one of the supported services and not returned in GeteBayDetails ?
Summary
With version 627 and higher, the ShippingCarrierUsed field is now a string. With this change, you can now specify any carrier that you use for shipping your items.
Detailed Description
Trading API
Use CompleteSale and set the ShippingCarrierUsed field to the appropriate value. You do need to ensure that you set the CompleteSale API call request version to 627 or higher. If you use SOAP, then update the WSDL in your application:
http://developer.ebay.com/webservices/latest/ebaySvc.wsdl
Here is a sample request:
<?xml version="1.0" encoding="utf-8"?>
<CompleteSaleRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<ItemID>123456789012</ItemID>
<TransactionID>0</TransactionID>
<Shipped>true</Shipped>
<Shipment>
<ShipmentTrackingDetails>
<ShipmentTrackingNumber>01038555749289279460</ShipmentTrackingNumber>
<ShippingCarrierUsed>SpecifyYourCarrier</ShippingCarrierUsed>
</ShipmentTrackingDetails>
</Shipment>
<RequesterCredentials>
<eBayAuthToken>*****</eBayAuthToken>
</RequesterCredentials>
</CompleteSaleRequest>
LMS
Use SetShipmentTrackingInfo and the ShippingCarrierUsed appropriately. Ensure that you set the version to 627 or higher in your request.
Here is a sample request:
<?xml version="1.0" encoding="utf-8"?>
<BulkDataExchangeRequests>
<Header>
<Version>655</Version>
<SiteID>0</SiteID>
</Header>
<SetShipmentTrackingInfoRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<OrderID>110035505229-23336925001</OrderID>
<OrderLineItemID>110035505229-23336925001</OrderLineItemID>
<Shipment>
<ShipmentTrackingNumber>01038555749289279460</ShipmentTrackingNumber>
<ShippedTime>2009-09-02T18:51:58.795Z</ShippedTime>
<ShippingCarrierUsed>SpecifyYourCarrier</ShippingCarrierUsed>
</Shipment>
</SetShipmentTrackingInfoRequest>
</BulkDataExchangeRequests>