Skip to main content
Published: October 08 2007, 4:39:00 PMUpdated: November 28 2020, 3:58:59 PM

On the site the combined payments is 14 days and there are two flat shipping discount profiles:

Profile: AUDomestic, $2.99
Profile: AUInternational, $3.99

However, when I call the API, even an hour later (thinking it was a latency problem), I get erroneous information:

...callname=GetShippingDiscountProfiles&siteid=15&...

e531_intl_Bundled_5392504_R1
AUD

EachAdditionalAmountOff

711307013
2.99


...
Days_30

What is the problem?

Summary

  <CurrencyID> is a required field when creating Shipping Discount profile. As a result, to get an expected result,  the GetShippingDiscountProfiles and SetShippingDiscountProfiles API calls should be made against the same SiteID. 

  For example, if the profiles were created with SetShippingDiscountProfiles HTTP X-EBAY-API-SITEID header set to 15 and the currency defined as <CurrencyID>AUD</CurrencyID> in the request, the API will  response with the Shipping Discount Profiles as below since you have not set any shipping profiles for the CurrencyID USD when seller make GetShippingDiscountProfiles against the SiteID 0.

<?xml version="1.0" encoding="utf-8" ?>

  <GetShippingDiscountProfilesResponsexmlns="urn:ebay:apis:eBLBaseComponents">
  <Timestamp>2007-10-09T00:20:50.000Z</Timestamp>
  <Ack>Success</Ack>
  <Version>533</Version>
  <Build>e533_core_Bundled_5448151_R1</Build>
  <CurrencyID>USD</CurrencyID>
  <PromotionalShippingDiscount>false</PromotionalShippingDiscount>
  <CombinedDuration>Days_30</CombinedDuration>
  </GetShippingDiscountProfilesResponse>
 
 
 

How well did this answer your question?
Answers others found helpful