eBay Trading APIVersion 1375
 

LineItemType

This type provides information about one order line item in a package. The package can contain multiple units of a given order line item.

Type that uses LineItemType:

Call that uses LineItemType:

Fields



CountryOfOrigin ( string ) [0..1]
The Country of Manufacture for the order line item; this is required for customs. This should identify the country in which more than 50% of the value of the item was created.

This value must conform to the ISO 3166 two-letter country code standard. To see the list of currently supported codes, and the English names associated with each code (e.g., KY="Cayman Islands"), call GeteBayDetails with DetailName set to CountryDetails.
See the Field Index to learn which calls use CountryOfOrigin.

Description ( string ) [0..1]
The item description of the order line item, based on its ItemID.
See the Field Index to learn which calls use Description.

ItemID ( ItemIDType (string) ) [1]
Unique identifier for the eBay listing associated with the order line item. A multiple-quantity listing can have multiple order line items, but only one ItemID value. Unless an OrderLineItemID or SKU value is specified in the same node, this field is required for each ItemTransactionID node included in the request.
See the Field Index to learn which calls use ItemID.

Quantity ( int ) [0..1]
The number of units of the order line item in this package; this is required for customs. The seller must ensure that this matches the quantity of the order line item enclosed in the package.

This value must be a positive integer, and it can't be greater than the quantity of this item specified in the original transaction. This field is a required field in CompleteSale if the order type is a Global Shipping Program (GSP) order.
See the Field Index to learn which calls use Quantity.

TransactionID ( string ) [1]
Unique identifier for an eBay order line item (transaction). The TransactionID should match the ItemID specified in each ItemTransactionID node included in the request. Optionally, an OrderLineItemID value can substitute for the ItemID/TransactionID pair.

The TransactionID value for auction listings is always 0 since there can be only one winning bidder/one sale for an auction listing.

Note: Beginning in July 2024, non-zero transaction IDs will start being returned for auction listings. If necessary, update code to handle non-zero transaction IDs for auction transactions before this time.
See the Field Index to learn which calls use TransactionID.