With the AddFixedPriceItem call I am trying to mix my shipping types, can this be done
I am using the add fixed price item api call. This works well when we are using the calculated shipping type. We want to be able to offer free shipping with our first option for domestic shipping and then Calculated for options 2 and 3. Is this possible? I have tried different mixes of shipping type and setting shipping cost to 0 and setting the free shipping property to true for option 1 but always get an error. It seems if I use free shipping I can only offer one option for domestic shipping.
3 Replies· Add your reply
Answer by sree_developersupport · Jan 31 at 05:27 PM
Yes. You should be able to do the mix and match using and in AddFixedPriceItem call.
For example: Please refer to below Section of XML:
<ShippingDetails> <CalculatedShippingRate> <OriginatingPostalCode>95125</OriginatingPostalCode> <MeasurementUnit>English</MeasurementUnit> <PackageDepth>6</PackageDepth> <PackageLength>7</PackageLength> <PackageWidth>7</PackageWidth> <ShippingPackage>PackageThickEnvelope</ShippingPackage> <WeightMajor>2</WeightMajor> <WeightMinor>0</WeightMinor> </CalculatedShippingRate> <PaymentInstructions>Payment must be received within 7 business days of purchase.</PaymentInstructions> <SalesTax> <SalesTaxPercent>8.75</SalesTaxPercent> <SalesTaxState>CA</SalesTaxState> </SalesTax> <ShippingServiceOptions> <FreeShipping>true</FreeShipping> <ShippingService>USPSPriority</ShippingService> <ShippingServicePriority>1</ShippingServicePriority> </ShippingServiceOptions> <ShippingServiceOptions> <ShippingService>UPSGround</ShippingService> <ShippingServicePriority>2</ShippingServicePriority> </ShippingServiceOptions> <ShippingServiceOptions> <ShippingService>UPSNextDay</ShippingService> <ShippingServicePriority>3</ShippingServicePriority> </ShippingServiceOptions> <ShippingType>Calculated</ShippingType> </ShippingDetails>
For Additional Details, please refer to http://developer.ebay.com/Devzone/XML/docs/Reference/eBay/AddFixedPriceItem.html
Please try these and let us know if you have any problems.
Answer by 2010dougeb · Feb 01 at 10:31 AM
Thank you for the confirmation that what I am doing is correct. I am testing on the sandbox, and found that it displays a little different than the live site. If I set the first shipping option to free, as in your example, when I look at it when posted to the sandbox the shipping options don't show Free. But when I enter a zip code in the shipping details tab the first option changes to display free. Don't know how much time I wasted before I discovered that.
Answer by sree_developersupport · Feb 01 at 05:15 PM
This was tried and tested in Sandbox Evnvironment. Please refer to the Item ID : 110189693835.
When the buyer decides to buy, he enters the Zip Code and 3 Options shown under Shipping & Payments will be calculated accordingly. The first option is set to Free.
Best Regards : /storage/temp/1212-shipping.jpg