ErrorHandlingCodeType ( token )
Preferences that specify how eBay should handle certain requests that contain invalid data or that could partially fail. These preferences give you some control over whether eBay returns warnings or errors in response to invalid data and how eBay handles listing requests when such data is passed in. For example, these preferences are applicable to AddItem and related calls when Item Specifics are specified, and to CompleteSale. See the eBay Web Services Guide for details about these preferences and their effects.

Types that use ErrorHandlingCodeType:

Enumeration Values
Value Description Which calls use this value *
AllOrNothing If any attribute data is invalid, drop the entire attribute set and proceed with listing the item. If the category has required attributes and the attribute set is dropped, reject the listing. AddItem, AddItems, RelistItem, ReviseItem, VerifyAddItem
BestEffort Drop the invalid data, continue processing the request with the valid data. If dropping the invalid data leaves the request in a state where required data is missing, reject the request.

If BestEffort is specified for CompleteSale, the Ack field in the response could return PartialFailure if one change fails but another succeeds. For example, if the seller attempts to leave feedback twice for the same transaction, the feedback changes would fail but any paid or shipped status changes would succeed.
AddItem, AddItems, CompleteSale, RelistItem, ReviseItem, VerifyAddItem
FailOnError If any data is invalid, reject the request. AddItem, AddItems, CompleteSale, RelistItem, ReviseItem, VerifyAddItem
Legacy Apply validation rules that were in effect prior to the time the call started supporting ErrorHandling. AddItem, AddItems, RelistItem, ReviseItem, VerifyAddItem
  * See the Enumeration Index to see exact use of each enumeration value in the API.

This document was generated with a customized version of the apireferencedocs tool.

© 2005–2009 eBay, Inc. All rights reserved. This documentation and the API may only be used in accordance with the eBay Developers Program and API License Agreement.