question

computeroverhauls avatar image
0 Likes"
computeroverhauls asked

Can someone let me know why this VerifyAddFixedPriceItem request is failing?

The request goes through and everything but the ItemID isn't 0, can anyone tell me what's wrong with it? eBayAPIInterfaceService service = EbayCalls.eBayServiceCall("VerifyAddFixedPriceItem"); VerifyAddFixedPriceItemRequestType request = new VerifyAddFixedPriceItemRequestType(); request.Version = "949"; request.ErrorLanguage = "en_US"; request.WarningLevel = WarningLevelCodeType.High; var item = new ItemType(); item.Title = "My Title"; item.Description = "My Description"; item.PrimaryCategory = new CategoryType { CategoryID = "11704" // Other DIY Tools }; item.BuyItNowPrice = new AmountType { Value = 7.98, currencyID = CurrencyCodeType.USD }; // To view ConditionIDs follow the URL // http://developer.ebay.com/devzone/guides/ebayfeatures/Development/Desc-ItemCondition.html#HelpingSellersChoosetheRightCondition item.ConditionID = 1000; item.Country = CountryCodeType.US; item.Currency = CurrencyCodeType.USD; item.DispatchTimeMax = 3; item.ListingDuration = "Days_7"; // Buy It Now fixed price item.ListingType = ListingTypeCodeType.FixedPriceItem; // Auction //item.ListingType = ListingTypeCodeType.Chinese; item.PaymentMethods = new BuyerPaymentMethodCodeTypeCollection { BuyerPaymentMethodCodeType.PayPal }; // Default testing paypal email address item.PayPalEmailAddress = " noreply@computeroverhauls.com"; item.PictureDetails = new PictureDetailsType { PictureURL = new StringCollection { "https://avatar-ssl.xboxlive.com/avatar/ii%20burg%20ii/avatar-body.png" } }; item.PostalCode = "10001"; item.Quantity = 5; // 1 If Auction item.ReturnPolicy = new ReturnPolicyType { ReturnsAcceptedOption = "ReturnsAccepted", ReturnsWithinOption = "Days_30", RefundOption = "MoneyBack", Description = "PLease return if unstatisfied.", ShippingCostPaidByOption = "Seller" }; item.ShippingDetails = new ShippingDetailsType { ShippingType = ShippingTypeCodeType.Flat, ShippingServiceOptions = new ShippingServiceOptionsTypeCollection { new ShippingServiceOptionsType { ShippingServicePriority = 1, // To find a shipping service follow the URL // https://developer.ebay.com/devzone/xml/docs/Reference/ebay/types/ShippingServiceCodeType.html ShippingService = "USPSGround", ShippingServiceCost = new AmountType { Value = 2.50, currencyID = CurrencyCodeType.USD } } } }; item.Site = SiteCodeType.US; request.Item = item; VerifyAddFixedPriceItemResponseType response = service.VerifyAddFixedPriceItem(request);
trading apic#c# eaby api
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
sree_developersupport avatar image
0 Likes"
sree_developersupport answered
Hi @computeroverhauls, Thanks for your post. I am not quite sure about the error or the wrong response you are receiving. Can you please explain this in a bit detail. Can you also please send us the request and response file for us to triage the situation? Best Regards, eBay Developer Support
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.