This method retrieves the complete details of the return policy specified by the returnPolicyId path parameter.
643 matches
36 actions
Account
36 actions
- createCustomPolicyPOSTv1.0.0
- createFulfillmentPolicyPOSTv1.0.0
- createOrReplaceSalesTaxPUTv1.0.0
- createPaymentPolicyPOSTv1.0.0
- createReturnPolicyPOSTv1.0.0
- deleteFulfillmentPolicyDELETEv1.0.0
- deletePaymentPolicyDELETEv1.0.0
- deleteReturnPolicyDELETEv1.0.0
- deleteSalesTaxDELETEv1.0.0
- getAdvertisingEligibilityGETv1.0.0
- getCustomPoliciesGETv1.0.0
- getCustomPolicyGETv1.0.0
- getFulfillmentPoliciesGETv1.0.0
- getFulfillmentPolicyGETv1.0.0
- getFulfillmentPolicyByNameGETv1.0.0
- getKYCGETv1.0.0
- getOptedInProgramsGETv1.0.0
- getPaymentPoliciesGETv1.0.0
- getPaymentPolicyGETv1.0.0
- getPaymentPolicyByNameGETv1.0.0
- getPaymentsProgramGETv1.0.0
- getPaymentsProgramOnboardingGETv1.0.0
- getPrivilegesGETv1.0.0
- getRateTablesGETv1.0.0
- getReturnPoliciesGETv1.0.0
- getReturnPolicyGETv1.0.0
- getReturnPolicyByNameGETv1.0.0
- getSalesTaxGETv1.0.0
- getSalesTaxesGETv1.0.0
- getSubscriptionGETv1.0.0
- optInToProgramPOSTv1.0.0
- optOutOfProgramPOSTv1.0.0
- updateCustomPolicyPUTv1.0.0
- updateFulfillmentPolicyPUTv1.0.0
- updatePaymentPolicyPUTv1.0.0
- updateReturnPolicyPUTv1.0.0
E-commerce/Account
getReturnPolicy
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
{
"type": "object",
"properties": {
"return_policy_id": {
"type": "string"
}
},
"required": [
"return_policy_id"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
{
"type": "object",
"description": "This type is used by the <b>returnPolicy</b> response container, a container which defines a seller's return business policy for a specific marketplace.",
"properties": {
"categoryTypes": {
"type": "array",
"description": "This container indicates which category group that the return policy applies to.<br/><br/><span class=\"tablenote\"><b>Note</b>: Return business policies are not applicable to motor vehicle listings, so the <b>categoryTypes.name</b> value will always be <code>ALL_EXCLUDING_MOTORS_VEHICLES</code> for return business policies.</span>",
"items": {
"type": "object",
"description": "The category type discerns whether the policy applies to motor vehicle listings, or to any other items except motor vehicle listings. <br/><br/>Each business policy can be associated with either or both categories ('MOTORS_VEHICLES' and 'ALL_EXCLUDING_MOTORS_VEHICLES'); however, return business policies are not applicable for motor vehicle listings.",
"properties": {
"default": {
"type": "boolean",
"description": "<span class=\"tablenote\"><strong>Note:</strong> This field has been deprecated and is no longer used.<ul><li>Do not include this field in any <b>create</b> or <b>update</b> method.</li><li>This field may be returned within the payload of a <b>get</b> method, but it can be ignored.</li></ul></span>"
},
"name": {
"type": "string",
"description": "The category type to which the policy applies (motor vehicles or non-motor vehicles). <br /><br />The <code>MOTORS_VEHICLES</code> category type is not valid for return policies. eBay flows do not support the return of motor vehicles. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/account/types/api:CategoryTypeEnum'>eBay API documentation</a>"
}
}
}
},
"description": {
"type": "string",
"description": "A seller-defined description of the return business policy. This description is only for the seller's use, and is not exposed on any eBay pages. <br/><br/><b>Max length</b>: 250"
},
"extendedHolidayReturnsOffered": {
"type": "boolean",
"description": "<p class=\"tablenote\"><span style=\"color: #dd1e31;\"><b>Important!</b></span> This field is deprecated, since eBay no longer supports extended holiday returns. Any value supplied in this field is neither read nor returned.</p> "
},
"internationalOverride": {
"type": "object",
"description": "This container shows the seller's international return policy settings. This container is only returned if the seller has set a separate international return policy for the business policies. International return policies are optional, even if the seller ships to international locations. If a separate international return policy is not set, all of the domestic return policy settings also apply to international orders.",
"properties": {
"returnMethod": {
"type": "string",
"description": "This field sets/indicates if the seller offers replacement items to the buyer in the case of an international return. The buyer must be willing to accept a replacement item; otherwise, the seller will need to issue a refund for a return. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/account/types/api:ReturnMethodEnum'>eBay API documentation</a>"
},
"returnPeriod": {
"type": "object",
"description": "This container indicates the number of calendar days that the buyer has to return an item. The return period begins when the item is marked \"delivered\" at the buyer's specified ship-to location. <br/><br/>You must set the value to one that's accepted by the marketplace and category where the item is listed. Most categories support 30-day and 60-day return periods. For a definitive list of return periods for one or more categories, call <a href=\"/api-docs/sell/metadata/resources/marketplace/methods/getReturnPolicies\">getReturnPolicies</a> method of the <b>Metadata API</b>. <br/><br/>The <b>TimeDuration</b> type is used to set/indicate the return period, and you set the <b>unit</b> value to <code>DAY</code> and the <b>value</b> field to either <code>30</code> or <code>60</code> (or other value, as appropriate). <br/><br/>Note that this value cannot be modified if the listing has bids or sales, or if the listing ends within 12 hours. <br/><br/>This field is conditionally required if the <b>internationalOverride.returnsAccepted</b> field is set to <code>true</code>.",
"properties": {
"unit": {
"type": "string",
"description": "These enum values represent the time measurement unit, such as <code>DAY</code>. A span of time is defined when you apply the value specified in the <b>value</b> field to the value specified for <b>unit</b>. <br/><br/>See <b>TimeDurationUnitEnum</b> for a complete list of possible time-measurement units. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/account/types/ba:TimeDurationUnitEnum'>eBay API documentation</a>"
},
"value": {
"type": "integer",
"format": "int32",
"description": "An integer that represents an amount of time, as measured by the time-measurement unit specified in the <b>unit</b> field."
}
}
},
"returnShippingCostPayer": {
"type": "string",
"description": "This field indicates who is responsible for paying for the shipping charges for returned items. The field can be set to either <code>BUYER</code> or <code>SELLER</code>. <br/><br/>Depending on the return policy and specifics of the return, either the buyer or the seller can be responsible for the return shipping costs. Note that the seller is always responsible for return shipping costs for 'significantly not as described' (SNAD) issues. <br/><br/>This field is conditionally required if the <b>internationalOverride.returnsAccepted</b> field is set to <code>true</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/account/types/api:ReturnShippingCostPayerEnum'>eBay API documentation</a>"
},
"returnsAccepted": {
"type": "boolean",
"description": "If set to <code>true</code>, the seller accepts international returns. If set to <code>false</code>, the seller does not accept international returns. <br/><br/>This field is conditionally required if the seller chooses to have a separate international return policy."
}
}
},
"marketplaceId": {
"type": "string",
"description": "The ID of the eBay marketplace to which this return business policy applies. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/account/types/ba:MarketplaceIdEnum'>eBay API documentation</a>"
},
"name": {
"type": "string",
"description": "A seller-defined name for this payment business policy. Names must be unique for policies assigned to the same marketplace.<br /><br /><b>Max length:</b> 64"
},
"refundMethod": {
"type": "string",
"description": "If a seller indicates that they will accept buyer returns, this value will be set to <code>MONEY_BACK</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/account/types/api:RefundMethodEnum'>eBay API documentation</a>"
},
"restockingFeePercentage": {
"type": "string",
"description": "<p class=\"tablenote\"><span style=\"color: #dd1e31;\"><b>Important!</b></span> This field is deprecated, since eBay no longer allows sellers to charge a restocking fee for buyer remorse returns. If this field is included, it is ignored and it is no longer returned.</p>"
},
"returnInstructions": {
"type": "string",
"description": "This text-based field provides more details on seller-specified return instructions. This field is only returned if set for the return business policy. <p class=\"tablenote\"><span style=\"color: #dd1e31;\"><b>Important!</b></span> This field is no longer supported on many eBay marketplaces. To see if a marketplace and eBay category does support this field, call <a href=\"/api-docs/sell/metadata/resources/marketplace/methods/getReturnPolicies\">getReturnPolicies</a> method of the <b>Metadata API</b>. Then you will look for the <b>policyDescriptionEnabled</b> field with a value of <code>true</code> for the eBay category.</span></p><br/><b>Max length</b>: 5000 (8000 for DE)"
},
"returnMethod": {
"type": "string",
"description": "This field is only returned if the seller is willing to offer a replacement item as an alternative to 'Money Back'. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/account/types/api:ReturnMethodEnum'>eBay API documentation</a>"
},
"returnPeriod": {
"type": "object",
"description": "This container indicates the number of calendar days that the buyer has to return an item. The return period begins when the item is marked \"delivered\" at the buyer's specified ship-to location. <br/><br/>Most categories support 30-day and 60-day return periods.<br/><br/><span class=\"tablenote\"><b>Note</b>: Unless the seller has set a separate international return policy through the <b>internationalOverride</b> container, this return period will be valid for domestic and international returns (if the seller ships internationally).</span>",
"properties": {
"unit": {
"type": "string",
"description": "These enum values represent the time measurement unit, such as <code>DAY</code>. A span of time is defined when you apply the value specified in the <b>value</b> field to the value specified for <b>unit</b>. <br/><br/>See <b>TimeDurationUnitEnum</b> for a complete list of possible time-measurement units. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/account/types/ba:TimeDurationUnitEnum'>eBay API documentation</a>"
},
"value": {
"type": "integer",
"format": "int32",
"description": "An integer that represents an amount of time, as measured by the time-measurement unit specified in the <b>unit</b> field."
}
}
},
"returnPolicyId": {
"type": "string",
"description": "A unique eBay-assigned ID for a return business policy. This ID is generated when the policy is created."
},
"returnShippingCostPayer": {
"type": "string",
"description": "This field indicates who is responsible for paying for the shipping charges for returned items. The field can be set to either <code>BUYER</code> or <code>SELLER</code>. <br/><br/>Depending on the return policy and specifics of the return, either the buyer or the seller can be responsible for the return shipping costs. Note that the seller is always responsible for return shipping costs for SNAD-related issues. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/account/types/api:ReturnShippingCostPayerEnum'>eBay API documentation</a>"
},
"returnsAccepted": {
"type": "boolean",
"description": "If this field is returned as <code>true</code>, the seller accepts returns. <br/><br/><span class=\"tablenote\"><strong>Note:</strong>Top-Rated sellers must accept item returns and the <b>handlingTime</b> should be set to zero days or one day for a listing to receive a Top-Rated Plus badge on the View Item or search result pages. For more information on eBay's Top-Rated seller program, see <a href=\"https://pages.ebay.com/help/sell/top-rated.html \">Becoming a Top Rated Seller and qualifying for Top Rated Plus benefits</a>.</span>"
}
}
}