question

InactiveAutoUser avatar image
0 Likes"
InactiveAutoUser asked ·

Multiple Shipping Service Options nodes

I created an application that uses both the eBay Trading API along with the Large Merchant Services API to list multiple Fixed Price Items. Whenever I specify more then one ShippingServicesOptions node for a particular item, I receive the following error:

 

 

<BulkDataExchangeResponses xmlns="urn:ebay:apis:eBLBaseComponents">

<AddFixedPriceItemResponse xmlns="urn:ebay:apis:eBLBaseComponents">

   <Timestamp>2012-05-14T18:18:10.352Z</Timestamp>

   <Ack>Failure</Ack>

   <CorrelationID>Request 1</CorrelationID>

   <Errors>

    <ShortMessage>Input data is invalid.</ShortMessage>

    <LongMessage>Input data for tag <Item.ShippingDetails> is invalid or missing. Please check API documentation.</LongMessage>

    <ErrorCode>37</ErrorCode>

    <SeverityCode>Error</SeverityCode>

    <ErrorParameters ParamID="0">

     <Value>Item.ShippingDetails</Value>

    </ErrorParameters>

    <ErrorClassification>RequestError</ErrorClassification>

   </Errors>

   <Version>771</Version>

   <Build>E771_CORE_BUNDLED_14807899_R1</Build>

  </AddFixedPriceItemResponse>

</BulkDataExchangeResponses>

 

Fixed price items with just one ShippingServicesOptions node cause no errors and are listed without issue. Here are the ShippingDetails for an item with multiple ShippingServicesOptions nodes which appear to be causing the issue:

 


<ShippingDetails>
<ShippingServiceOptions>
<FreeShipping>false</FreeShipping>
<ShippingService>UPSGround</ShippingService>
<ShippingServiceCost>7.99</ShippingServiceCost>
<ShippingServiceAdditionalCost>0.00</ShippingServiceAdditionalCost>
<ShippingServicePriority>1</ShippingServicePriority>
<ShippingSurcharge>0.99</ShippingSurcharge>
</ShippingServiceOptions>
<ShippingServiceOptions>
<FreeShipping>false</FreeShipping>
<ShippingService>FedEx</ShippingService>
<ShippingServiceCost>9.99</ShippingServiceCost>
<ShippingServiceAdditionalCost>2.99</ShippingServiceAdditionalCost>
<ShippingServicePriority>2</ShippingServicePriority>
<ShippingSurcharge>0.00</ShippingSurcharge>
</ShippingServiceOptions>
<ShippingType>Flat</ShippingType>
</ShippingDetails>

 

Does anyone know why listing multiple ShippingServicesOptions nodes is causing this error? Am I missing something on how to list multiple Flat rate shipping options?

 

Thank you.

 

trading-apishipping-service-options
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.

1 Answer

· Write an Answer
frank1002us avatar image
0 Likes"
frank1002us answered ·
· 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.

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.