Component 
SUMMARY: XML REP | DERIVED | USE
DETAIL: DESC | XML SRC | TYPE | ATTR | CHILD
eBay Trading API

complexType "ns:ShippingDetailsType"
Namespace:
Content:
complex, 34 elements, elem. wildcard
Defined:
globally in Schema in ebaySvc.wsdl; see XML source
Includes:
definitions of 34 elements, elem. wildcard
Used:
Component Diagram
XML Representation Summary
<...>
   
Content: 
</...>
All Direct / Indirect Based Elements (4):
ns:ShippingDetails (defined in ns:ItemType complexType),
ns:ShippingDetails (defined in ns:OrderType complexType),
ns:ShippingDetails (defined in ns:TransactionType complexType),
Known Usage Locations
Annotation
Type defining the ShippingDetails container, which contains the shipping-related details for an order line item (pre-checkout) or order (post-checkout).

IMPORTANT: To avoid loss of shipping details when revising a listing, you must include all ShippingDetails fields that were originally provided. Do not omit any tag, even if its value does not change. Omitting a shipping field when revising an item will remove that detail from the listing.
XML Source (w/o annotations (35); see within schema source)
<xs:complexType name="ShippingDetailsType">
<xs:sequence>
<xs:element minOccurs="0" name="AllowPaymentEdit" type="xs:boolean"/>
<xs:element minOccurs="0" name="ApplyShippingDiscount" type="xs:boolean"/>
<xs:element minOccurs="0" name="GlobalShipping" type="xs:boolean"/>
<xs:element minOccurs="0" name="CalculatedShippingRate" type="ns:CalculatedShippingRateType"/>
<xs:element minOccurs="0" name="ChangePaymentInstructions" type="xs:boolean"/>
<xs:element minOccurs="0" name="InsuranceWanted" type="xs:boolean"/>
<xs:element minOccurs="0" name="PaymentEdited" type="xs:boolean"/>
<xs:element minOccurs="0" name="PaymentInstructions" type="xs:string"/>
<xs:element minOccurs="0" name="SalesTax" type="ns:SalesTaxType"/>
<xs:element minOccurs="0" name="ShippingRateErrorMessage" type="xs:string"/>
<xs:element minOccurs="0" name="ShippingRateType" type="ns:ShippingRateTypeCodeType"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="ShippingServiceOptions" type="ns:ShippingServiceOptionsType"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="InternationalShippingServiceOption" type="ns:InternationalShippingServiceOptionsType"/>
<xs:element minOccurs="0" name="ShippingType" type="ns:ShippingTypeCodeType"/>
<xs:element minOccurs="0" name="SellingManagerSalesRecordNumber" type="xs:int"/>
<xs:element minOccurs="0" name="ThirdPartyCheckout" type="xs:boolean"/>
<xs:element minOccurs="0" name="TaxTable" type="ns:TaxTableType"/>
<xs:element minOccurs="0" name="GetItFast" type="xs:boolean"/>
<xs:element minOccurs="0" name="ShippingServiceUsed" type="xs:token"/>
<xs:element minOccurs="0" name="DefaultShippingCost" type="ns:AmountType"/>
<xs:element minOccurs="0" name="ShippingDiscountProfileID" type="xs:string"/>
<xs:element minOccurs="0" name="FlatShippingDiscount" type="ns:FlatShippingDiscountType"/>
<xs:element minOccurs="0" name="CalculatedShippingDiscount" type="ns:CalculatedShippingDiscountType"/>
<xs:element minOccurs="0" name="PromotionalShippingDiscount" type="xs:boolean"/>
<xs:element minOccurs="0" name="InternationalShippingDiscountProfileID" type="xs:string"/>
<xs:element minOccurs="0" name="InternationalFlatShippingDiscount" type="ns:FlatShippingDiscountType"/>
<xs:element minOccurs="0" name="InternationalPromotionalShippingDiscount" type="xs:boolean"/>
<xs:element minOccurs="0" name="CODCost" type="ns:AmountType"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="ExcludeShipToLocation" type="xs:string"/>
<xs:element minOccurs="0" name="SellerExcludeShipToLocationsPreference" type="xs:boolean"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="ShipmentTrackingDetails" type="ns:ShipmentTrackingDetailsType"/>
<xs:element minOccurs="0" name="RateTableDetails" type="ns:RateTableDetailsType"/>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="lax"/>
</xs:sequence>
</xs:complexType>
Content Element Detail (all declarations defined in this component; 35/35)
ns:AllowPaymentEdit
Type:
xs:boolean, predefined, simple content
This field is deprecated and has been replaced by the ShippingDetails.PaymentEdited field.
XML Representation Summary
<ns:AllowPaymentEdit>
   
Content: 
{ xs:boolean }
</ns:AllowPaymentEdit>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="AllowPaymentEdit" type="xs:boolean"/>

ns:ApplyShippingDiscount
Type:
xs:boolean, predefined, simple content
This field is deprecated.
XML Representation Summary
<ns:ApplyShippingDiscount>
   
Content: 
{ xs:boolean }
</ns:ApplyShippingDiscount>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="ApplyShippingDiscount" type="xs:boolean"/>

ns:CalculatedShippingDiscount
Type:
If a calculated shipping discount was offered for the domestic shipping services, this contains the details of the calculated shipping discount. Otherwise, it is not returned. Only returned if the calling user is the seller.
Component Diagram
XML Representation Summary
<ns:CalculatedShippingDiscount>
   
Content: 
</ns:CalculatedShippingDiscount>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="CalculatedShippingDiscount" type="ns:CalculatedShippingDiscountType"/>

ns:CalculatedShippingRate
Type:
Details pertinent to one or more items for which calculated shipping has been offered by the seller, such as package dimension and weight and packaging/handling costs. If your call specifies a large-dimension item listed with UPS, see Dimensional Weight limit on UPS shipping services results in failure of shipping calculator.

Note: The CalculatedShippingRate container should only be used to specify values for the InternationalPackagingHandlingCosts, OriginatingPostalCode, and/or PackagingHandlingCosts fields. The rest of the fields in the CalculatedShippingRate container are used to specify package dimensions and package weight, and these values should now be specified in the ShippingPackageDetails container instead.
Component Diagram
XML Representation Summary
<ns:CalculatedShippingRate>
   
Content: 
</ns:CalculatedShippingRate>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="CalculatedShippingRate" type="ns:CalculatedShippingRateType"/>

ns:ChangePaymentInstructions
Type:
xs:boolean, predefined, simple content
Whether the seller specified payment and shipping instructions during checkout (for example, to update the details of an order). Valid for flat and calculated shipping.
XML Representation Summary
<ns:ChangePaymentInstructions>
   
Content: 
{ xs:boolean }
</ns:ChangePaymentInstructions>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="ChangePaymentInstructions" type="xs:boolean"/>

ns:CODCost
Type:
ns:AmountType, simple content
This dollar value indicates the money due from the buyer upon delivery of the item.

This field should only be specified in the request if 'COD' (cash-on-delivery) is a valid payment method for the site and listing category, and it is included as a PaymentMethods value in the same request.

This field is only returned if set for the listing.

To see if 'COD' is a supported payment method for a site and category, call GetCategoryFeatures, specifying the listing category ID, and including the FeatureID field set to PaymentMethods. Look for a value of 'CashOnPickup' in one of the Category.PaymentMethod fields in the response. For some eBay sites, the 'COD' enum may also get returned.
Component Diagram
XML Representation Summary
<ns:CODCost
   
 = 
("AFA" | "ALL" | "DZD" | "ADP" | "AOA" | "ARS" | "AMD" | "AWG" | "AZM" | "BSD" | "BHD" | "BDT" | "BBD" | "BYR" | "BZD" | "BMD" | "BTN" | "INR" | "BOV" | "BOB" | "BAM" | "BWP" | "BRL" | "BND" | "BGL" | "BGN" | "BIF" | "KHR" | "CAD" | "CVE" | "KYD" | "XAF" | "CLF" | "CLP" | "CNY" | "COP" | "KMF" | "CDF" | "CRC" | "HRK" | "CUP" | "CYP" | "CZK" | "DKK" | "DJF" | "DOP" | "TPE" | "ECV" | "ECS" | "EGP" | "SVC" | "ERN" | "EEK" | "ETB" | "FKP" | "FJD" | "GMD" | "GEL" | "GHC" | "GIP" | "GTQ" | "GNF" | "GWP" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "AUD" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LVL" | "LBP" | "LSL" | "LRD" | "LYD" | "CHF" | "LTL" | "MOP" | "MKD" | "MGF" | "MWK" | "MYR" | "MVR" | "MTL" | "EUR" | "MRO" | "MUR" | "MXN" | "MXV" | "MDL" | "MNT" | "XCD" | "MZM" | "MMK" | "ZAR" | "NAD" | "NPR" | "ANG" | "XPF" | "NZD" | "NIO" | "NGN" | "NOK" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "USD" | "QAR" | "ROL" | "RUB" | "RUR" | "RWF" | "SHP" | "WST" | "STD" | "SAR" | "SCR" | "SLL" | "SGD" | "SKK" | "SIT" | "SBD" | "SOS" | "LKR" | "SDD" | "SRG" | "SZL" | "SEK" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "XOF" | "TOP" | "TTD" | "TND" | "TRL" | "TMM" | "UGX" | "UAH" | "AED" | "GBP" | "USS" | "USN" | "UYU" | "UZS" | "VUV" | "VEB" | "VND" | "MAD" | "YER" | "YUM" | "ZMK" | "ZWD" | "ATS" | "CustomCode")
   
>
   
Content: 
{ xs:double }
</ns:CODCost>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="CODCost" type="ns:AmountType"/>

ns:DefaultShippingCost
Type:
ns:AmountType, simple content
The field is deprecated.
Component Diagram
XML Representation Summary
<ns:DefaultShippingCost
   
 = 
("AFA" | "ALL" | "DZD" | "ADP" | "AOA" | "ARS" | "AMD" | "AWG" | "AZM" | "BSD" | "BHD" | "BDT" | "BBD" | "BYR" | "BZD" | "BMD" | "BTN" | "INR" | "BOV" | "BOB" | "BAM" | "BWP" | "BRL" | "BND" | "BGL" | "BGN" | "BIF" | "KHR" | "CAD" | "CVE" | "KYD" | "XAF" | "CLF" | "CLP" | "CNY" | "COP" | "KMF" | "CDF" | "CRC" | "HRK" | "CUP" | "CYP" | "CZK" | "DKK" | "DJF" | "DOP" | "TPE" | "ECV" | "ECS" | "EGP" | "SVC" | "ERN" | "EEK" | "ETB" | "FKP" | "FJD" | "GMD" | "GEL" | "GHC" | "GIP" | "GTQ" | "GNF" | "GWP" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "AUD" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LVL" | "LBP" | "LSL" | "LRD" | "LYD" | "CHF" | "LTL" | "MOP" | "MKD" | "MGF" | "MWK" | "MYR" | "MVR" | "MTL" | "EUR" | "MRO" | "MUR" | "MXN" | "MXV" | "MDL" | "MNT" | "XCD" | "MZM" | "MMK" | "ZAR" | "NAD" | "NPR" | "ANG" | "XPF" | "NZD" | "NIO" | "NGN" | "NOK" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "USD" | "QAR" | "ROL" | "RUB" | "RUR" | "RWF" | "SHP" | "WST" | "STD" | "SAR" | "SCR" | "SLL" | "SGD" | "SKK" | "SIT" | "SBD" | "SOS" | "LKR" | "SDD" | "SRG" | "SZL" | "SEK" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "XOF" | "TOP" | "TTD" | "TND" | "TRL" | "TMM" | "UGX" | "UAH" | "AED" | "GBP" | "USS" | "USN" | "UYU" | "UZS" | "VUV" | "VEB" | "VND" | "MAD" | "YER" | "YUM" | "ZMK" | "ZWD" | "ATS" | "CustomCode")
   
>
   
Content: 
{ xs:double }
</ns:DefaultShippingCost>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="DefaultShippingCost" type="ns:AmountType"/>

ns:ExcludeShipToLocation
Type:
xs:string, predefined, simple content
Use this field to specify an international country or region, or a special domestic location, such as 'PO Box' (in US) or 'Packstation' (in DE), to where you will not ship the associated item. Repeat this element in the call request for each location that you want to exclude as a shipping destination for your item.

Set ShipToRegistrationCountry to true to have your ExcludeShipToLocation settings applied to your listing. The locations you have excluded display in the Shipping and Handling section of your item listing.

If a buyer's primary ship-to location is a location that you have listed as an excluded ship-to location (or if the buyer does not have a primary ship-to location), they will receive an error message if they attempt to buy or place a bid on your item.

The exclude ship-to location values are eBay regions and countries. To see the valid exclude ship-to locations for a specified site, call GeteBayDetails with DetailName set to ExcludeShippingLocationDetails, and then look for the ExcludeShippingLocationDetails.Location fields in the response. Repeat GeteBayDetails for each site on which you list.

This field works in conjunction with Item.ShipToLocations to create a set of international countries and regions to where you will, and will not, ship. You can list a region in the ShipToLocations field, then exclude specific countries within that region with this field (for example, you can specify Africa in ShipToLocations, yet exclude Chad with a ExcludeShipToLocation setting). In addition, if your ShipToLocations is Worldwide, you can use this field to specify both regions and countries that you want to exclude from your shipping destinations.

You can specify a default set of locations to where you will not ship in My eBay. If you create an Exclude Ship-To List, it is, by default, in effect when you list items. However, if you specify any value in this field on input, it nullifies the default settings in your Exclude Ship-To List. (If you use ExcludeShipToLocation when you list an item, you will need to list all the locations to where you will not ship the associated item, regardless of the default settings in your Exclude Ship-To List.)

Specify none in this field to override the default Exclude Ship-To List you might have set up in My eBay and indicate that you do not want to exclude any shipping locations from the respective item listing.

Note: To enable your default Exclude Ship-To List, you must enable Exclude Shipping Locations and Buyer Requirements in your My eBay Site Preferences. For details, see the KnowledgeBase Article HowTo: ExcludeShipToLocation.
XML Representation Summary
<ns:ExcludeShipToLocation>
   
Content: 
{ xs:string }
</ns:ExcludeShipToLocation>
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="ExcludeShipToLocation" type="xs:string"/>

ns:FlatShippingDiscount
Type:
If a flat rate shipping discount was offered for the domestic shipping services, this contains the details of the flat rate shipping discount. Otherwise, it is not returned. Only returned if the calling user is the seller.
Component Diagram
XML Representation Summary
<ns:FlatShippingDiscount>
   
Content: 
</ns:FlatShippingDiscount>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="FlatShippingDiscount" type="ns:FlatShippingDiscountType"/>

ns:GetItFast
Type:
xs:boolean, predefined, simple content
This field is deprecated.
XML Representation Summary
<ns:GetItFast>
   
Content: 
{ xs:boolean }
</ns:GetItFast>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="GetItFast" type="xs:boolean"/>

ns:GlobalShipping
Type:
xs:boolean, predefined, simple content
Indicates whether eBay's Global Shipping Program is offered for the listing. If the value of GlobalShipping is True, international shipping through the Global Shipping Program is available for the listing, and eBay automatically sets one of the available shipping service options to International Priority Shipping. If the value of GlobalShipping is false, the seller is responsible for specifying one or more international shipping service options if the seller is willing to ship internationally.

When calling RelistFixedPriceItem, RelistItem, ReviseFixedPriceItem or ReviseItem, you can omit this field if its value doesn't need to change.

Before using this field for a listing, ensure that the seller and the item being listed are eligible for the Global Shipping Program.
XML Representation Summary
<ns:GlobalShipping>
   
Content: 
{ xs:boolean }
</ns:GlobalShipping>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="GlobalShipping" type="xs:boolean"/>

ns:InsuranceWanted
Type:
xs:boolean, predefined, simple content
Whether or not the buyer selected to pay for insurance as an option offered by the seller. This only has a value after the buyer has gone through checkout and selected the insurance preference.

Valid only on the following sites: FR and IT
XML Representation Summary
<ns:InsuranceWanted>
   
Content: 
{ xs:boolean }
</ns:InsuranceWanted>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="InsuranceWanted" type="xs:boolean"/>

ns:InternationalCalculatedShippingDiscount
Type:
This value is returned only if the seller is making the call. If a calculated shipping discount was offered for the international shipping services, this contains the details of the calculated shipping discount. Otherwise, it is not returned.
Component Diagram
XML Representation Summary
<ns:InternationalCalculatedShippingDiscount>
   
Content: 
</ns:InternationalCalculatedShippingDiscount>
XML Source (w/o annotations (1); see within schema source)

ns:InternationalFlatShippingDiscount
Type:
This value is returned only if the seller is making the call. If a flat rate shipping discount was offered for the international shipping services, this contains the details of the flat rate shipping discount. Otherwise, it is not returned.
Component Diagram
XML Representation Summary
<ns:InternationalFlatShippingDiscount>
   
Content: 
</ns:InternationalFlatShippingDiscount>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="InternationalFlatShippingDiscount" type="ns:FlatShippingDiscountType"/>

ns:InternationalPromotionalShippingDiscount
Type:
xs:boolean, predefined, simple content
On input, this specifies whether to offer the promotional shipping discount for the listing's international shipping services (only applicable if the seller has a promotional shipping discount in effect at the moment).

Returned on output only if the seller is making the call. This value indicates whether the promotional shipping discount is being offered for the international shipping services of this listing (if the listing is still active—this is only possible if the seller has a promotional shipping discount in effect at the moment) or whether the discount was offered at the time the listing ended.
XML Representation Summary
<ns:InternationalPromotionalShippingDiscount>
   
Content: 
{ xs:boolean }
</ns:InternationalPromotionalShippingDiscount>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="InternationalPromotionalShippingDiscount" type="xs:boolean"/>

ns:InternationalShippingDiscountProfileID
Type:
xs:string, predefined, simple content
On input, this is the ID of the shipping discount to offer for the international shipping services (where the shipping discount is either of type FlatShippingDiscount or CalculatedShippingDiscount).

In the RelistItem and ReviseItem family of calls, you can remove the existing InternationalShippingDiscountProfileID associated with the item by supplying a value of 0 (zero).

Returned on output only if the seller is making the call. The value is the ID of the shipping discount offered and corresponds to whichever is returned: FlatShippingDiscount or CalculatedShippingDiscount.

If the user created a shipping discount profile, use InternationalShippingDiscountProfileID.
XML Representation Summary
<ns:InternationalShippingDiscountProfileID>
   
Content: 
{ xs:string }
</ns:InternationalShippingDiscountProfileID>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="InternationalShippingDiscountProfileID" type="xs:string"/>

ns:InternationalShippingServiceOption
Type:
Shipping costs and options related to an international shipping service. If used, at least one domestic shipping service must also be provided in ShippingServiceOptions.

If you specify multiple InternationalShippingServiceOption nodes, the repeating nodes must be contiguous. That is, you cannot insert other nodes between InternationalShippingServiceOption nodes.

All specified domestic and international shipping services must be the same shipping type (for example, Flat versus Calculated).

A seller can offer up to four domestic shipping services and up to five international shipping services. However, if the seller is opted in to the Global Shipping Program, only four other international shipping services may be offered (regardless of whether or not Global Shipping is offered for the listing).

If you specify ShippingDetails when you revise or relist an item but you omit InternationalShippingServiceOption, eBay will drop the international shipping services (except the Global Shipping Program) from the listing. This may also have unintended side effects, as other fields that depend on this data may be dropped as well. To retain the shipping services and dependent fields when you modify other shipping details, it may be simplest to specify all ShippingDetails that you still want to include in the listing.

For GetItemShipping, results are filtered: if any service is not available in the buyer's region, it is removed. If no services remain after this filtering, a warning is returned.
Component Diagram
XML Representation Summary
<ns:InternationalShippingServiceOption>
   
Content: 
</ns:InternationalShippingServiceOption>
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="InternationalShippingServiceOption" type="ns:InternationalShippingServiceOptionsType"/>

ns:PaymentEdited
Type:
xs:boolean, predefined, simple content
Whether the seller allows the buyer to edit the payment amount for the order. (Sellers enable this property in their My eBay user preferences on the eBay site.)
XML Representation Summary
<ns:PaymentEdited>
   
Content: 
{ xs:boolean }
</ns:PaymentEdited>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="PaymentEdited" type="xs:boolean"/>

ns:PaymentInstructions
Type:
xs:string, predefined, simple content
This free-form string field gives sellers the ability add detailed payment instructions to their listings. The payment instructions appear on eBay's View Item and Checkout pages.

Sellers can use this field to specify payment instructions, how soon the item will shipped, feedback instructions, and other items that the buyer should be aware of when they bid on or buy an item. eBay recommends sellers use this field to clarify payment policies for motor vehicle listings on eBay Motors. For example, sellers can include the specifics on the deposit (if required), pickup/delivery arrangements, and full payment details on the vehicle.

The field allows only 500 characters as input, but due to the way the eBay web site UI treats characters, this field can return more than 500 characters in the response. For example, characters like & and ' (ampersand and single quote) count as 5 characters each.

This field can be specified regardless of the shipping type. Use DeletedField to remove this value when revising or relisting an item.

Applicable to eBay Motors (usually used to elaborate on the return policy).
XML Representation Summary
<ns:PaymentInstructions>
   
Content: 
{ xs:string }
</ns:PaymentInstructions>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="PaymentInstructions" type="xs:string"/>

ns:PromotionalShippingDiscount
Type:
xs:boolean, predefined, simple content
On input, this specifies whether to offer the promotional shipping discount for the domestic shipping services of this listing (only applicable if the seller has a promotional shipping discount in effect at the moment).

Returned on output only if the seller is making the call. This indicates whether the promotional shipping discount is being offered for the domestic shipping services of this listing (if the listing is still active—this is only possible if the seller has a promotional shipping discount in effect at the moment) or whether the discount was offered at the time the listing ended.
XML Representation Summary
<ns:PromotionalShippingDiscount>
   
Content: 
{ xs:boolean }
</ns:PromotionalShippingDiscount>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="PromotionalShippingDiscount" type="xs:boolean"/>

ns:PromotionalShippingDiscountDetails
Type:
This value is returned only if the seller is making the call. Contains details of the promotional shipping discount, if such is being offered while the listing is active or if it was offered at the time the listing ended.
Component Diagram
XML Representation Summary
<ns:PromotionalShippingDiscountDetails>
   
Content: 
</ns:PromotionalShippingDiscountDetails>
XML Source (w/o annotations (1); see within schema source)

ns:RateTableDetails
Type:
ns:RateTableDetailsType, complex content
This container is used to reference and apply a seller's domestic and/or international shipping rate tables to a listing. Shipping rate tables allow sellers to configure specific shipping costs based on the shipping destinations and level of service (e.g. economy, standard, expedited, and one-day). Generally speaking, sellers want to use these shipping rate tables so they can charge a higher shipping cost to the buyer whenever shipping costs are higher for them as well. For example, shipping to Alaska or Hawaii is generally more expensive than shipping to any other of the 48 US states, or in regards to international shipping, shipping to some regions and countries are more expensive than others.

Sellers configure domestic and international shipping rate tables in My eBay Shipping Preferences. To apply shipping rate tables to a listing, the shipping cost type must be flat-rate.

For domestic shipping rate tables, the three supported domestic regions are Alaska & Hawaii, US Protectorates (e.g. Puerto Rico and Guam), and APO/FPO destinations, which are US military bases/locations outside of the continental US. In addition to setting one flat rate based on the destination and service level, the seller also has the option of adding an extra charge based on the weight of the shipping package, or they can add a surcharge instead. To determine if a domestic shipping rate table is set up for the seller's account, the GetUser call can be used, and then the seller will look for a value of true in the User.SellerInfo.DomesticRateTable field. Although the GetUser call can be used to see if a domestic shipping rate table exists for the seller's account, details of the shipping rate table, including all specified costs for the different regions, can only be viewed and modified in My eBay Shipping Preferences. This functionality is not yet available in any public APIs.

For international shipping rate tables, specific rates may be set up for any and all of the nine geographical regions and individual countries within those regions. Similar to domestic shipping rate tables, the seller has the option of adding an extra charge based on the weight of the shipping package. Sellers cannot add a surcharge for international shipping. To determine if a international shipping rate table is set up for the seller's account, the GetUser call can be used, and then the seller will look for a value of true in the User.SellerInfo.InternationalRateTable field. Although the GetUser call can be used to see if an international shipping rate table exists for the seller's account, details of the shipping rate table, including all specified costs for the different regions/countries, can only be viewed and modified in My eBay Shipping Preferences. This functionality is not yet available in any public APIs.

If you are applying a domestic or international shipping rate table that specifies a surcharge by weight, you must specify the item weight in the ShippingPackageDetails container's WeightMajor and WeightMinor fields, even though the listing is using flat-rate shipping. Do not use any other fields in the ShippingPackageDetails container because none of those fields are applicable in this use case.

This container is only returned in the 'Get' calls if one or more shipping rate tables have been applied to the listing, and if the call is being made by the seller who listed the item.

Note: The capability to create and use multiple domestic and international shipping rate tables (up to 40 per seller account) has rolled out to the US, Australia, Canada (English and French), Italy, UK, and Germany sites. For other sites, only one domestic and one international shipping rate table may be set up per seller. Whether a seller is using the old default domestic and international shipping rate tables or the new shipping rate tables, these shipping rate tables are set up in My eBay Shipping Preferences or as part of a Shipping Business Policy. If using the Trading API to create a listing that will use the new shipping rate tables, the DomesticRateTableId and InternationalRateTableId fields are used to reference and apply these new shipping rate tables to the listing. If desired, sellers can still use the old default shipping rate tables, but they are not allowed to mix and match old and new shipping rate tables, meaning that they will get an error if they pass in both the old fields (DomesticRateTable and InternationalRateTable) and the new fields (DomesticRateTableId and InternationalRateTableId). The new shipping rate tables have all of the functionality of the old shipping rate tables, plus the seller has access to all domestic regions and not just the special regions (such as Alaska & Hawaii, US Protectorates, and APO/FPO locations in US).
Component Diagram
XML Representation Summary
<ns:RateTableDetails>
   
Content: 
</ns:RateTableDetails>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="RateTableDetails" type="ns:RateTableDetailsType"/>

ns:SalesTax
Type:
ns:SalesTaxType, complex content
This container shows sales tax information for an item in a specific tax jurisdiction. The concept of 'sales tax' is only applicable to eBay US and Canada (English and French) sites.

This container can be used in an Add/Revise/Relist/Verify call to set sales tax settings for a specific tax jurisdiction, but it is actually a better practice if a user sets up sales tax rates through the Sales Tax Table tool in My eBay (or by using the SetTaxTable call). A seller's Sales Tax Table is applied to the listing by including the UseTaxTable field in the request and setting its value to true. The GetTaxTable call can be used to retrieve the current sales tax rates for different tax jurisdictions.

This container is only returned in order management 'Get' calls if sales tax is applicable to the order line item. For eBay Collect and Remit states, the sales tax information is displayed in the Transaction.Taxes container instead.

Note: As of September 1, 2020, buyers in over 40 US states will automatically be charged sales tax for eBay purchases. eBay will collect and remit this sales tax to the proper taxing authority on the buyer's behalf. So, if a sales tax rate is applied by the seller for a state that is subject to 'eBay Collect and Remit', this sales tax rate will be ignored by eBay during checkout process. For a list of the US states that are currently subject to 'eBay Collect and Remit', see the eBay sales tax collection help topic.
Note: For eBay managed payment orders that are subject to 'Collect and Remit' taxes, these taxes will only be shown in the eBayCollectAndRemitTaxes container for line items, and the SalesTax will not be returned at all. For non-eBay managed payment orders, the 'Collect and Remit' taxes will be shown in both the eBayCollectAndRemitTaxes and SalesTax containers.
Component Diagram
XML Representation Summary
<ns:SalesTax>
   
Content: 
</ns:SalesTax>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="SalesTax" type="ns:SalesTaxType"/>

ns:SellerExcludeShipToLocationsPreference
Type:
xs:boolean, predefined, simple content
Sellers can set up a global Exclude Ship-To List through their My eBay account. The Exclude Ship-To List defines the countries to where the seller does not ship, by default.

This flag returns true if the Exclude Ship-To List is enabled by the seller for the associated item. If false, the seller's Exclude Ship-To List is either not set up, or it has been overridden by the seller when they listed the item with ExcludeShipToLocation fields.

In the response, ExcludeShipToLocation fields detail the locations to where the seller will not ship the item, regardless of the value returned in this field.
XML Representation Summary
<ns:SellerExcludeShipToLocationsPreference>
   
Content: 
{ xs:boolean }
</ns:SellerExcludeShipToLocationsPreference>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="SellerExcludeShipToLocationsPreference" type="xs:boolean"/>

ns:SellingManagerSalesRecordNumber
Type:
xs:int, predefined, simple content
The sale record ID. Applicable to Selling Manager users. When an item is sold, Selling Manager generates a sale record. A sale record contains buyer information, shipping, and other information. A sale record is displayed in the Sold view in Selling Manager. Each sale record has a sale record ID.

In the following calls, the value for the sale record ID is in the SellingManagerSalesRecordNumber field: GetItemTransactions, GetSellerTransactions, GetOrders, GetOrderTransactions.

For GetOrders, GetOrderTransactions, and GetItemTransactions only: If using Trading WSDL Version 1019 or above, this field will only be returned to the buyer or seller, and no longer returned at all to third parties. If using a Trading WSDL older than Version 1019, the real record number is only returned to the buyer or seller, and a dummy value of 0 will be returned to all third parties.

The sale record ID can be for a single or a multiple line item order.

Note: For the GetItemTransactions, GetOrders, and GetOrderTransactions calls, this field is only returned to the seller of the order; this field is not returned for the buyer or third party.
XML Representation Summary
<ns:SellingManagerSalesRecordNumber>
   
Content: 
{ xs:int }
</ns:SellingManagerSalesRecordNumber>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="SellingManagerSalesRecordNumber" type="xs:int"/>

ns:ShipmentTrackingDetails
Type:
Container for the shipping carrier and tracking information associated with the shipment of an order.

As each package has a unique tracking number, this container should be repeated for each package in the order.

Note: Top-rated sellers must have a record of uploading shipment tracking information (through site or through API) for at least 90 percent of their order line items (purchased by U.S. buyers) to keep their status as Top-rated sellers. For more information on eBay's Top-rated seller program, see the Becoming a Top Rated Seller and qualifying for Top Rated Plus page.
Note: Shipment tracking information does not appear in Merchant Data API's OrderReport responses, because once shipment tracking information is provided to the buyer, the order/order line item is considered acknowledged, and acknowledged orders do not show up in OrderReport responses.
Component Diagram
XML Representation Summary
<ns:ShipmentTrackingDetails>
   
Content: 
</ns:ShipmentTrackingDetails>
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="ShipmentTrackingDetails" type="ns:ShipmentTrackingDetailsType"/>

ns:ShippingDiscountProfileID
Type:
xs:string, predefined, simple content
On input, this is the ID of the shipping discount to offer for the domestic shipping services (where the shipping discount is either of type FlatShippingDiscount or CalculatedShippingDiscount).

On output, this is the ID of the shipping discount offered and corresponds to whichever is returned: FlatShippingDiscount or CalculatedShippingDiscount. Only returned if the calling user is the seller.

If the user created a shipping discount profile, use the ShippingDiscountProfileID.

In the RelistItem and ReviseItem family of calls, you can remove the existing ShippingDiscountProfileID associated with the item by supplying a value of 0 (zero).

Only returned if the calling user is the seller.
XML Representation Summary
<ns:ShippingDiscountProfileID>
   
Content: 
{ xs:string }
</ns:ShippingDiscountProfileID>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="ShippingDiscountProfileID" type="xs:string"/>

ns:ShippingRateErrorMessage
Type:
xs:string, predefined, simple content
For most applicable calls, returns the words No Error or returns an error message related to an attempt to calculate shipping rates. For calculated shipping only.

The message text explains that a postal code is needed to calculate shipping. Only returned when ItemDetails is set to Fine.
XML Representation Summary
<ns:ShippingRateErrorMessage>
   
Content: 
{ xs:string }
</ns:ShippingRateErrorMessage>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="ShippingRateErrorMessage" type="xs:string"/>

ns:ShippingRateType
Type:
A shipping rate scale for shipping through USPS that affects the shipping cost calculated for USPS (lower if ShippingRateType is DailyPickup). ShippingRateType is returned only if the value of ShippingService is one of the USPS shipping services. For calculated shipping only.
XML Representation Summary
<ns:ShippingRateType>
   
Content: 
{ enumeration of xs:token }
</ns:ShippingRateType>
Simple Content
Enumeration:
"OnDemand"
 - 
"On-demand" shipping rate scale.
"DailyPickup"
 - 
"Daily pickup" shipping rate scale.
"StandardList"
 - 
"Standard List" shipping rate scale.
"Counter"
 - 
"Counter" shipping rate scale.
"Discounted"
 - 
"Discounted" shipping rate scale.
"CommercialPlus"
 - 
"Commercial Plus" shipping rate scale.
"GoldSilver"
 - 
"Commercial Plus Discounted Rate1" shipping rate scale.
"PlatTitanium"
 - 
"Commercial Plus Discounted Rate2" shipping rate scale.
"CustomCode"
 - 
(out) Reserved for internal or future use.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="ShippingRateType" type="ns:ShippingRateTypeCodeType"/>

ns:ShippingServiceOptions
Type:
This container is used to provide details on a specific domestic shipping service option, including the unique identifier of the shipping service option and the costs related to domestic shipping service. A separate ShippingServiceOptions container is needed for each domestic shipping service option that is available to ship the item. Unless a fulfillment business policy is being used, generally at least one ShippingServiceOptions container will be required.

If you specify multiple ShippingServiceOptions nodes, the repeating nodes must be contiguous. For example, you can insert InternationalShippingServiceOption nodes after a list of repeating ShippingServiceOptions nodes, but not between them:

<ShippingServiceOptions>...</ShippingServiceOptions>
<ShippingServiceOptions>...</ShippingServiceOptions>
<ShippingServiceOptions>...</ShippingServiceOptions>
<InternationalShippingServiceOption>...</InternationalShippingServiceOption>
<InternationalShippingServiceOption>...</InternationalShippingServiceOption>


If you specify ShippingDetails when you revise or relist an item but you omit ShippingServiceOptions, eBay will drop the domestic shipping services from the listing. This may also have unintended side effects, as other fields that depend on this data may be dropped as well.

To retain the shipping services and dependent fields when you modify other shipping details, it may be simplest to specify all ShippingDetails that you still want to include in the listing.

A seller can offer up to four domestic shipping services and up to five international shipping services. However, if the seller is opted in to the Global Shipping Program, only four other international shipping services may be offered (regardless of whether or not Global Shipping is offered for the listing). All specified domestic and international shipping services must be the same shipping type (for example, Flat versus Calculated).

Note: If the seller has set the shipping cost model to 'Flat' or 'Calculated' (ShippingDetails.ShippingType field), at least one actual shipping service option must be specified through a ShippingServiceOptions container. In the past, eBay allowed users to set the shipping cost model to 'Flat' or 'Calculated', and then just pass in one ShippingServiceOptions container with the ShippingServiceOptions.ShipppingService value set to a 'Local Pickup' option. Now, sellers must pass in at least one actual domestic shipping service option in addition to any 'Local Pickup' option, or the listing will be blocked with the following error: 17510 - You must specify at least one domestic shipping service, other than or in addition to Local Pickup.
For GetItemShipping, results are filtered: if any service is not available in the buyer's region, it is removed. If no services remain after this filtering, a warning is returned.
Component Diagram
XML Representation Summary
<ns:ShippingServiceOptions>
   
Content: 
</ns:ShippingServiceOptions>
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="ShippingServiceOptions" type="ns:ShippingServiceOptionsType"/>

ns:ShippingServiceUsed
Type:
xs:token, predefined, simple content
The shipping service actually used by the seller to ship the item(s) to the buyer.
XML Representation Summary
<ns:ShippingServiceUsed>
   
Content: 
{ xs:token }
</ns:ShippingServiceUsed>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="ShippingServiceUsed" type="xs:token"/>

ns:ShippingType
Type:
ns:ShippingTypeCodeType, simple content
The shipping cost model offered by the seller. This is not returned for various calls since shipping type can be deduced: if a CalculatedShippingRate structure is returned by the call, the shipping type is Calculated. Otherwise, it is one of the other non-Calculated shipping types.

GetItemShipping and GetItemTransactions: If the type was a mix of flat and calculated services, this is set simply to Flat or Calculated because it is the buyer's selection that results in one of these.

GetMyeBayBuying: If the seller has set the ShipToLocation to Worldwide for an item, but has not specified any international shipping service options, NotSpecified is returned as the ShippingType value.
XML Representation Summary
<ns:ShippingType>
   
Content: 
{ enumeration of xs:token }
</ns:ShippingType>
Simple Content
Enumeration:
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="ShippingType" type="ns:ShippingTypeCodeType"/>

ns:TaxTable
Type:
ns:TaxTableType, complex content
Tax details for a jurisdiction, such as a state or province. If no tax table is associated with the item, a tax table is not returned.

For GetItem, a tax table is returned if it exists when:
  • DetailLevel is set to ReturnAll or ItemReturnDescription (in this case, the value of IncludeTaxTable does not matter)
  • IncludeTaxTable is set to true and DetailLevel is not set or it is set to ItemReturnAttributes
Component Diagram
XML Representation Summary
<ns:TaxTable>
   
Content: 
</ns:TaxTable>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="TaxTable" type="ns:TaxTableType"/>

ns:ThirdPartyCheckout
Type:
xs:boolean, predefined, simple content
This field is deprecated.
XML Representation Summary
<ns:ThirdPartyCheckout>
   
Content: 
{ xs:boolean }
</ns:ThirdPartyCheckout>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="ThirdPartyCheckout" type="xs:boolean"/>

{any element from any namespace}
XML Source (see within schema source)
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="lax"/>

 Component 
SUMMARY: XML REP | DERIVED | USE
DETAIL: DESC | XML SRC | TYPE | ATTR | CHILD
eBay Trading API

WSDL documentation generated with FlexDoc/XML 1.13 using FlexDoc/XML WSDLDoc 1.2.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.