eBay Trading APIVersion 1371

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 Error handling for details about these preferences and their effects.

Type that uses ErrorHandlingCodeType:

Calls that use one or more values of ErrorHandlingCodeType:

Enumeration Values

Value Description
AllOrNothing If any of the item specifics data is invalid, drop all the data and proceed with listing the item. If the category has required item specifics and the data was dropped, reject the listing.
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 order line item, the feedback changes would fail but any paid or shipped status changes would succeed.
FailOnError If any data is invalid, reject the request.
Legacy Apply validation rules that were in effect prior to the time the call started supporting ErrorHandling.
  * See the Enumeration Index to see exact use of each enumeration value in the API.