Marketplaces / eBay / eBay Sell API Technical Scope / eBay Product Management / eBay Get Rate Tables Done

eBay Get Rate Tables Done

eBay have introduced additional logic for the Rate Tables and we can have multiple rate tables and assign them per policy (Shipping template). In order to be able to control this from Hemi we will need to change the Use Domestic Rate Table and Use International Rate Table in shipping template table under Rate tables tab. The fields need to become dropdowns with the relevant IDs get from eBay

The fields need to download the rate table ids from eBay using AJAX like we do for the Shipping Discount Profile ID and Ship To Location Exclusions. In order to do so we have to use getRateTables request from the new SELLs API. https://developer.ebay.com/api-docs/sell/account/resources/rate_table/methods/getRateTables

Basically we need to check how to incorporate the request in the HUB. We do not need the country parameter GET https://api.ebay.com/sell/account/v1/rate_table

this way we will get all the infor for the account. From the response we will need to store the name and the rateTableId

We need to push the Rate Table Ids only when selected.

In the payload the new fields need to be pushed like:

string <**DomesticRateTableId**> string </**DomesticRateTableId**> <InternationalRateTable> string </InternationalRateTable> <**InternationalRateTableId**> string </**InternationalRateTableId**> </RateTableDetails> <p>If we have selected an ID from any of fields we will have to include both nodes in the payload </p> <DomesticRateTable> string </DomesticRateTable> <p><<strong>DomesticRateTableId</strong>> string </<strong>DomesticRateTableId</strong>></p> <p>or</p> <InternationalRateTable> string </InternationalRateTable> <p><<strong>InternationalRateTableId</strong>> string </<strong>InternationalRateTableId</strong>></p> <p>More details available <a href="https://developer.ebay.com/devzone/xml/docs/reference/ebay/AddFixedPriceItem.html#Request.Item.ShippingDetails.RateTableDetails.InternationalRateTableId">here</a></p>
Is this article helpful?
0 0 0