eBay Trading APIVersion 1371


Type defining the ReturnPolicyDetails.ReturnsWithin container that is returned in GeteBayDetails. This container contains the values that may be used in the ReturnPolicy.ReturnsWithinOption field of Add/Revise/Relist API calls.

Note: The GeteBayDetails call returns site-default Return Policy settings. For most categories within a given eBay site, the supported Return Policy options/values are the same, but there a few exceptions. To discover what return durations that a particular category supports, call GetCategoryFeatures and include DomesticReturnsDurationValues and/or InternationalReturnsDurationValues as FeatureID values to see the return durations available for domestic and international returns, respectively.

Type that uses ReturnsWithinDetailsType:

Call that uses ReturnsWithinDetailsType:


Description ( string ) [0..1]
Display string that applications can use to present ReturnsWithinOption in a more user-friendly format (such as in a drop-down list). Not applicable as input to the AddItem family of calls. (Use ReturnsWithinOption instead.)
See the Field Index to learn which calls use Description.

ReturnsWithinOption ( token ) [0..1]
Value indicates the number of days that a buyer has to return an item from the day they receive the item. This value can be passed in the Add/Revise/Relist family of API calls. Supported values can vary by eBay site.
See the Field Index to learn which calls use ReturnsWithinOption.