Home
Find the answer to your question
The shipping service and cost returned by GetItem is different from that of GetItemTransactions. How is this possible? Which values should I consider for checkout?
Summary
The information returned by GetItem is what the item was listed with. Subsequently, after the item sale, the seller could consult with the buyer and send an invoice with a different shipping service and cost. In this case, GetItemTransactions will return the new shipping information, but the information in GetItem will
remain unchanged.
Seller listed item
110023314782 with the following shipping service:
ShippingService: UPS2ndDay
ShippingServiceCost: USD 5.0
When you make a GetItem request:
<?xml version="1.0" encoding="utf-8"?>
<GetItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Version>529</Version>
<ItemID>110023314782</ItemID>
<RequesterCredentials>
<eBayAuthToken>*****</eBayAuthToken>
</RequesterCredentials>
</GetItemRequest>
You will get the following information relevant to shipping:
<?xml version="1.0" encoding="utf-8"?>
<GetItemResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2007-09-07T23:11:38.854Z</Timestamp>
<Ack>Success</Ack>
<Version>529</Version>
<Build>e529_core_Bundled_5287364_R1</Build>
<Item>
...
<ShippingDetails>
...
<ShippingServiceOptions>
<ShippingService>UPS2ndDay</ShippingService>
<ShippingServiceCost currencyID="USD">5.0</ShippingServiceCost>
<ShippingServicePriority>1</ShippingServicePriority>
<ExpeditedService>false</ExpeditedService>
<ShippingTimeMin>1</ShippingTimeMin>
<ShippingTimeMax>2</ShippingTimeMax>
</ShippingServiceOptions>
<ShippingType>Flat</ShippingType>
<ThirdPartyCheckout>false</ThirdPartyCheckout>
<TaxTable/>
<InsuranceDetails>
<InsuranceOption>NotOffered</InsuranceOption>
</InsuranceDetails>
...
</ShippingDetails>
<ShipToLocations>US</ShipToLocations>
<Site>US</Site>
<StartPrice
currencyID="USD">1.0</StartPrice>
....
</Item>
</GetItemResponse>
Buyer purchases the item, the seller consults the buyer and sends the
invoice with shipping service as UPSGround:
Note: Seller can also make an API call to SendInvoice and set the same
information.
When you call GetItemTransactions or GetSellerTransactions, you will see the
shipping service as UPSGround:
<?xml version="1.0" encoding="utf-8"?>
<GetItemTransactionsRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Version>529</Version>
<ItemID>110023314782</ItemID>
<ModTimeFrom>2007-09-01T00:00:00.000Z</ModTimeFrom>
<ModTimeTo>2007-09-12T00:00:00.000Z</ModTimeTo>
<RequesterCredentials>
<eBayAuthToken>*****</eBayAuthToken>
</RequesterCredentials>
</GetItemTransactionsRequest>
Relevant portion of the response:
<?xml version="1.0" encoding="utf-8"?>
<GetItemTransactionsResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2007-09-11T18:50:18.745Z</Timestamp>
<Ack>Success</Ack>
<Version>529</Version>
<Build>e529_core_Bundled_5287364_R1</Build>
...
<TransactionArray>
<Transaction>
<AmountPaid currencyID="USD">12.0</AmountPaid>
<AdjustmentAmount currencyID="USD">0.0</AdjustmentAmount>
<ConvertedAdjustmentAmount currencyID="USD">0.0</ConvertedAdjustmentAmount>
<ShippingDetails>
<ChangePaymentInstructions>true</ChangePaymentInstructions>
<InsuranceFee currencyID="USD">0.0</InsuranceFee>
<InsuranceOption>NotOffered</InsuranceOption>
<InsuranceWanted>false</InsuranceWanted>
<PaymentEdited>false</PaymentEdited>
<SalesTax>
<SalesTaxPercent>0.0</SalesTaxPercent>
<ShippingIncludedInTax>false</ShippingIncludedInTax>
</SalesTax>
<ShippingServiceOptions>
<ShippingService>UPSGround</ShippingService>
<ShippingServiceCost currencyID="USD">2.0</ShippingServiceCost>
<ShippingServicePriority>1</ShippingServicePriority>
<ExpeditedService>false</ExpeditedService>
<ShippingTimeMin>1</ShippingTimeMin>
<ShippingTimeMax>6</ShippingTimeMax>
</ShippingServiceOptions>
<ShippingType>Flat</ShippingType>
<SellingManagerSalesRecordNumber>722</SellingManagerSalesRecordNumber>
<ThirdPartyCheckout>false</ThirdPartyCheckout>
<TaxTable/>
<GetItFast>false</GetItFast>
</ShippingDetails>
<ConvertedAmountPaid currencyID="USD">12.0</ConvertedAmountPaid>
<ConvertedTransactionPrice currencyID="USD">10.0</ConvertedTransactionPrice>
<CreatedDate>2007-09-07T23:01:32.000Z</CreatedDate>
<DepositType>None</DepositType>
<QuantityPurchased>1</QuantityPurchased>
<Status>
<eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus>
<CheckoutStatus>SellerResponded</CheckoutStatus>
<LastTimeModified>2007-09-07T23:14:34.000Z</LastTimeModified>
<PaymentMethodUsed>None</PaymentMethodUsed>
<CompleteStatus>Incomplete</CompleteStatus>
<BuyerSelectedShipping>false</BuyerSelectedShipping>
</Status>
<TransactionID>0</TransactionID>
<TransactionPrice currencyID="USD">10.0</TransactionPrice>
<BestOfferSale>false</BestOfferSale>
<ShippingServiceSelected>
<ShippingInsuranceCost currencyID="USD">0.0</ShippingInsuranceCost>
<ShippingService>UPSGround</ShippingService>
<ShippingServiceCost currencyID="USD">2.0</ShippingServiceCost>
</ShippingServiceSelected>
<TransactionSiteID>US</TransactionSiteID>
<Platform>eBay</Platform>
</Transaction>
</TransactionArray>
<PayPalPreferred>false</PayPalPreferred>
</GetItemTransactionsResponse>
Now when the buyer
goes through checkout, they will see the following on the ReviewYourPurchases
page:
If you call GetItemTransactions / GetSellerTransactions after the buyer completes checkout, it will return the CheckoutStatus as CheckoutComplete and BuyerSelectedShipping as true. As this point, you can use the information returned for this transaction to process it further for fulfillment.
Version Info
The code example above was based on the versions specified below:
API Schema Version | 529 |