{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ReturnPolicyRequest",
"title": "ReturnPolicyRequest",
"type": "object",
"properties": {
"categoryTypes": {
"type": "array",
"description": "This container indicates which category group that the return policy applies to.
Note: Return business policies are not applicable to motor vehicle listings, so the categoryTypes.name value must be set to ALL_EXCLUDING_MOTORS_VEHICLES for return business policies.",
"items": {
"$ref": "#/components/schemas/CategoryType"
}
},
"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.
Max length: 250"
},
"extendedHolidayReturnsOffered": {
"type": "boolean",
"description": "
Important! This field is deprecated, since eBay no longer supports extended holiday returns. Any value supplied in this field is neither read nor returned.
" }, "internationalOverride": { "description": "This container is used by the seller to specify a separate international return policy. If a separate international return policy is not defined by a seller, all of the domestic return policy settings will also apply to international orders.", "$ref": "#/components/schemas/InternationalReturnOverrideType" }, "marketplaceId": { "type": "string", "description": "The ID of the eBay marketplace to which this return business policy applies. For implementation help, refer to eBay API documentation" }, "name": { "type": "string", "description": "A seller-defined name for this return business policy. Names must be unique for policies assigned to the same marketplace.Important! If this field is not included in a return business policy, it will default to MONEY_BACK.
For implementation help, refer to eBay API documentation" }, "restockingFeePercentage": { "type": "string", "description": "Important! 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.
" }, "returnInstructions": { "type": "string", "description": "This text-based field provides more details on seller-specified return instructions.Important! This field is no longer supported on many eBay marketplaces. To see if a marketplace and eBay category does support this field, call getReturnPolicies method of the Metadata API. Then you will look for the policyDescriptionEnabled field with a value of true for the eBay category.
DAY and value to either 30 or 60 (or other value, as appropriate). true.",
"$ref": "#/components/schemas/TimeDuration"
},
"returnsAccepted": {
"type": "boolean",
"description": "If set to true, the seller accepts returns. Note:Top-Rated sellers must accept item returns and the handlingTime 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 Becoming a Top Rated Seller and qualifying for Top Rated Plus benefits.
" }, "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 eitherBUYER or SELLER. true. For implementation help, refer to eBay API documentation"
}
},
"description": "This root container defines a seller's return business policy for a specific marketplace and category group. This type is used when creating or updating a return business policy."
}