Retrieves information on the shipping rate tables defined by the seller. The call returns the shipping rate tables for the country specified by the country_code query parameter. If no country code is specified, the call returns all the shipping rate tables defined by the seller.
Important: The documentation for this call is provided as a preview of functionality that will soon be available; this call is not yet live on our Production or Sandbox servers. This notice will be removed once getRateTables is wired-on and available for general use.
A two-letter ISO 3166-1 Alpha-2 country code that specifies the country for which you want shipping rate table information. If you do not specify a county, the call returns all the seller-defined rate tables.
The region covered by the shipping rate table, either DOMESTIC or INTERNATIONAL.
DOMESTIC indicates that the shipping rate table applies to regions within the country where an item is listed (the source country) while INTERNATIONAL indicates that the shipping rate table applies to regions outside of the country where an item is listed.
The user-defined name for the shipping rate table. Sellers can access Seller Hub (or My eBay > Account > Site Preferences > Shipping preferences) to create and assign names to their shipping rate tables.
A unique eBay-assigned ID for the shipping rate table.
Use this ID value in the RateTableDetails container of the Add/Revise/Relist calls in the Trading API. If the locality for a rate table is set to DOMESTIC, pass the ID value in the RateTableDetails.DomesticRateTableId field. Otherwise, if locality is INTERNATIONAL, pass the ID value in RateTableDetails.InternationalRateTableId.
Note: Some item IDs, user IDs, or other data in these samples might no longer be active on eBay. If necessary, you can substitute current eBay data in your requests.
Sample: Get the shipping-rate tables for a country
This example retrieves details about the shipping-rate tables defined by a seller for a specific country.
This call does not require a request payload and the countryCode query parameter is optional (if you do not supply a countryCode in the request, the call returns all the seller's shipping-rate tables). The example shown relies on the default countryCode value.
URL format.See also the non-wrapped version of this URL.
A successful call returns information on the shipping-rate tables defined by the seller. Table information is returned for the country specified in the request and information on up to 20 tables can be returned by this call.