question

InactiveAutoUser avatar image
0 Likes"
InactiveAutoUser asked ·

How do I add ShippingDiscount?

Hi,

 

I have problems adding a ShippingDiscount to my listings.

GetShippingDiscountProfiles returns:

<GetShippingDiscountProfilesResponse xmlns="urn:ebay:apis:eBLBaseComponents">
   <Timestamp>2011-12-18T18:13:05.153Z</Timestamp>
   <Ack>Success</Ack>
   <Version>747</Version>
   <Build>E747_INTL_BUNDLED_14086880_R1</Build>
   <CurrencyID>EUR</CurrencyID>
   <FlatShippingDiscount>
      <DiscountName>EachAdditionalAmount</DiscountName>
      <DiscountProfile>
         <DiscountProfileID>98417024</DiscountProfileID>
         <DiscountProfileName>VersandPauschale</DiscountProfileName>
         <EachAdditionalAmount>0.0</EachAdditionalAmount>
      </DiscountProfile>
   </FlatShippingDiscount>
   <PromotionalShippingDiscount>false</PromotionalShippingDiscount>
   <ShippingInsurance>
      <InsuranceOption>NotOffered</InsuranceOption>
   </ShippingInsurance>
   <InternationalShippingInsurance>
      <InsuranceOption>NotOffered</InsuranceOption>
   </InternationalShippingInsurance>
   <CombinedDuration>Days_30</CombinedDuration>
</GetShippingDiscountProfilesResponse>

 

When I call ReviseItem with following parameters

<urn:ReviseItemRequest>
  <urn:ErrorLanguage>en_US</urn:ErrorLanguage>
  <urn:Version>747</urn:Version>
  <urn:ErrorHandling>FailOnError</urn:ErrorHandling>
  <urn:WarningLevel>High</urn:WarningLevel>
  <urn:Item>
    <urn:ItemID>190616391300</urn:ItemID>
    <urn:ShippingDetails>
      <urn:ShippingType>Flat</urn:ShippingType>
      <urn:ShippingDiscountProfileID>98417024</urn:ShippingDiscountProfileID>
      <urn:PromotionalShippingDiscount>false</urn:PromotionalShippingDiscount>
    </urn:ShippingDetails>
  </urn:Item>
  <urn:VerifyOnly>true</urn:VerifyOnly>
</urn:ReviseItemRequest>

I get following result:

<Errors>
    <ShortMessage>Profile Type is different.</ShortMessage>
    <LongMessage>Shipping discount profile specified for shipping type is not valid.</LongMessage>
    <ErrorCode>2191456</ErrorCode>
    <SeverityCode>Warning</SeverityCode>
    <ErrorClassification>RequestError</ErrorClassification>
 </Errors>

I don't understand, why I get this errormessage. I would expect this message, if I created a profile for calculated shipping and specified it for a listing with flat shipping, but in this case both the profiles and the listings shippingtype are flat.

 

I appreciate any help.

 

Kind regards,

 

Christian Rudolph

shippingdiscount
· 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi

0 Likes 0 · ·
jourbandts avatar image
0 Likes"
jourbandts answered ·

No problem.

· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

epinapala avatar image
0 Likes"
epinapala ,

Best Regards,

Eswara Rajesh Pinapala,

eBay Dvelopers Program Site Engineer.

answered ·

Thanks for Answering!

· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jourbandts avatar image
0 Likes"
jourbandts answered ·

Hi,

 

In general, it's strongly advised if not required, when you revise an item, you put the full ShippingDetails container in your call.  I ran a GetItem and found this,

 

<ShippingDetails>
      <ApplyShippingDiscount>true</ApplyShippingDiscount>
      <SalesTax>
        <SalesTaxPercent>0.0</SalesTaxPercent>
        <ShippingIncludedInTax>false</ShippingIncludedInTax>
      </SalesTax>
      <ShippingServiceOptions>
        <ShippingService>DE_DHLPaket</ShippingService>
        <ShippingServiceCost currencyID="EUR">4.9</ShippingServiceCost>
        <ShippingServiceAdditionalCost currencyID="EUR">0.0</ShippingServiceAdditionalCost>
        <ShippingServicePriority>1</ShippingServicePriority>
        <ExpeditedService>false</ExpeditedService>
        <ShippingTimeMin>1</ShippingTimeMin>
        <ShippingTimeMax>2</ShippingTimeMax>
      </ShippingServiceOptions>
      <ShippingType>Flat</ShippingType>
      <ThirdPartyCheckout>false</ThirdPartyCheckout>
      <ShippingDiscountProfileID>98417024</ShippingDiscountProfileID>
      <FlatShippingDiscount>
        <DiscountName>EachAdditionalAmount</DiscountName>
        <DiscountProfile>
          <DiscountProfileID>98417024</DiscountProfileID>
          <DiscountProfileName>VersandPauschale</DiscountProfileName>
          <EachAdditionalAmount currencyID="EUR">0.0</EachAdditionalAmount>
        </DiscountProfile>
      </FlatShippingDiscount>
      <InternationalShippingDiscountProfileID>0</InternationalShippingDiscountProfileID>
      <SellerExcludeShipToLocationsPreference>false</SellerExcludeShipToLocationsPreference>
    </ShippingDetails>

 

Try including that and see if it works.  Also refer to the article below:

Answer Title: Best Practices using ShippingDetails
Answer Link: https://ebaydts.com/eBayKBDetails?KBid=699

 

If you are still  having issues past this, please open a support ticket, http://developer.ebay.com/support/developersupport/

· 2 · Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thanks!

0 Likes 0 · ·

Josh,

Your private messaging (from this board) is disabled, we can't message you

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.