openapi: 3.0.0 info: title: eBay Account Advertising_eligibility Return_policy API description: The Account API gives sellers the ability to configure their eBay seller accounts, including the seller's policies (eBay business policies and seller-defined custom policies), opt in and out of eBay seller programs, configure sales tax tables, and get account information.

For details on the availability of the methods in this API, see Account API requirements and restrictions. contact: name: eBay Inc, license: name: eBay API License Agreement url: https://go.developer.ebay.com/api-license-agreement version: v1.9.2 servers: - url: https://api.ebay.com{basePath} description: Production variables: basePath: default: /sell/account/v1 tags: - name: Return_policy paths: /return_policy: get: tags: - Return_policy description: 'This method retrieves all the return policies configured for the marketplace you specify using the marketplace_id query parameter.

Marketplaces and locales

Get the correct policies for a marketplace that supports multiple locales using the Content-Language request header. For example, get the policies for the French locale of the Canadian marketplace by specifying fr-CA for the Content-Language header. Likewise, target the Dutch locale of the Belgium marketplace by setting Content-Language: nl-BE. For details on header values, see HTTP request headers.' operationId: getReturnPolicies parameters: - name: marketplace_id in: query description: This query parameter specifies the ID of the eBay marketplace of the policy you want to retrieve. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/account/types/ba:MarketplaceIdEnum required: true schema: type: string responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ReturnPolicyResponse' '400': description: Bad Request x-response-codes: errors: '20401': domain: API_ACCOUNT category: REQUEST description: Missing field {fieldName}. {additionalInfo} '20403': domain: API_ACCOUNT category: REQUEST description: Invalid {fieldName}. {additionalInfo} '20404': domain: API_ACCOUNT category: REQUEST description: '{fieldName} not found.' '500': description: Internal Server Error x-response-codes: errors: '20500': domain: API_ACCOUNT category: APPLICATION description: System error. '20501': domain: API_ACCOUNT category: APPLICATION description: Service unavailable. Please try again in next 24 hours. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly post: tags: - Return_policy description: This method creates a new return policy where the policy encapsulates seller's terms for returning items.

Each policy targets a specific marketplace, and you can create multiple policies for each marketplace. Return policies are not applicable to motor-vehicle listings.

A successful request returns the getReturnPolicy URI to the new policy in the Location response header and the ID for the new policy is returned in the response payload.

Tip: For details on creating and using the business policies supported by the Account API, see eBay business policies.

operationId: createReturnPolicy parameters: - name: Content-Type in: header description: This header indicates the format of the request body provided by the client. Its value should be set to application/json.

For more information, refer to HTTP request headers. required: true schema: type: string requestBody: description: Return policy request content: application/json: schema: description: Return policy request $ref: '#/components/schemas/ReturnPolicyRequest' required: true responses: '201': description: Created headers: Location: schema: type: string description: The location response header contains the URL to the newly created return policy. The URL includes the eBay-assigned returnPolicyId, which you can use to reference the policy. content: application/json: schema: $ref: '#/components/schemas/SetReturnPolicyResponse' x-response-codes: errors: '20200': domain: API_ACCOUNT category: BUSINESS description: Warning. {additionalInfo} '400': description: Bad Request x-response-codes: errors: '20400': domain: API_ACCOUNT category: REQUEST description: Invalid request. {additionalInfo} '20401': domain: API_ACCOUNT category: REQUEST description: Missing field . '20406': domain: API_ACCOUNT category: REQUEST description: Invalid return option '500': description: Internal Server Error x-response-codes: errors: '20500': domain: API_ACCOUNT category: APPLICATION description: System error. '20501': domain: API_ACCOUNT category: APPLICATION description: Service unavailable. Please try again in next 24 hours. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account /return_policy/{return_policy_id}: get: tags: - Return_policy description: This method retrieves the complete details of the return policy specified by the returnPolicyId path parameter. operationId: getReturnPolicy parameters: - name: return_policy_id in: path description: This path parameter specifies the unique identifier of the return policy you want to retrieve.

This ID can be retrieved for a return policy by using the getReturnPolicies method. required: true schema: type: string responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ReturnPolicy' '400': description: Bad Request x-response-codes: errors: '20403': domain: API_ACCOUNT category: REQUEST description: Invalid {fieldName}. {additionalInfo} '20404': domain: API_ACCOUNT category: REQUEST description: '{fieldName} not found.' '404': description: Not Found '500': description: Internal Server Error x-response-codes: errors: '20500': domain: API_ACCOUNT category: APPLICATION description: System error. '20501': domain: API_ACCOUNT category: APPLICATION description: Service unavailable. Please try again in next 24 hours. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly put: tags: - Return_policy description: This method updates an existing return policy. Specify the policy you want to update using the return_policy_id path parameter. Supply a complete policy payload with the updates you want to make; this call overwrites the existing policy with the new details specified in the payload. operationId: updateReturnPolicy parameters: - name: return_policy_id in: path description: This path parameter specifies the ID of the return policy you want to update.

This ID can be retrieved for a return policy by using the getReturnPolicies method. required: true schema: type: string - name: Content-Type in: header description: This header indicates the format of the request body provided by the client. Its value should be set to application/json.

For more information, refer to HTTP request headers. required: true schema: type: string requestBody: description: Container for a return policy request. content: application/json: schema: description: Container for a return policy request. $ref: '#/components/schemas/ReturnPolicyRequest' required: true responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/SetReturnPolicyResponse' x-response-codes: errors: '20200': domain: API_ACCOUNT category: BUSINESS description: Warning. {additionalInfo} '400': description: Bad Request x-response-codes: errors: '20400': domain: API_ACCOUNT category: REQUEST description: Invalid request. {additionalInfo} '20401': domain: API_ACCOUNT category: REQUEST description: Missing field {fieldName}. '20402': domain: API_ACCOUNT category: REQUEST description: Invalid input. {additionalInfo} '20404': domain: API_ACCOUNT category: REQUEST description: '{fieldName} not found.' '20406': domain: API_ACCOUNT category: REQUEST description: Invalid return option. {fieldName} '404': description: Not Found '500': description: Internal Server Error x-response-codes: errors: '20500': domain: API_ACCOUNT category: APPLICATION description: System error. '20501': domain: API_ACCOUNT category: APPLICATION description: Service unavailable. Please try again in next 24 hours. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account delete: tags: - Return_policy description: This method deletes a return policy. Supply the ID of the policy you want to delete in the returnPolicyId path parameter. operationId: deleteReturnPolicy parameters: - name: return_policy_id in: path description: This path parameter specifies the unique identifier of the return policy you want to delete.

This ID can be retrieved for a return policy by using the getReturnPolicies method. required: true schema: type: string responses: '204': description: No Content '400': description: Bad Request x-response-codes: errors: '20401': domain: API_ACCOUNT category: REQUEST description: Missing field {fieldName}. {additionalInfo} '20402': domain: API_ACCOUNT category: REQUEST description: Invalid input. {additionalInfo} '20404': domain: API_ACCOUNT category: REQUEST description: '{fieldName} not found.' '404': description: Not Found '409': description: Conflict x-response-codes: errors: '20409': domain: API_ACCOUNT category: BUSINESS description: Invalid default policy type. {additionalInfo} '21409': domain: API_ACCOUNT category: BUSINESS description: Invalid default for category type. {additionalInfo} '22409': domain: API_ACCOUNT category: BUSINESS description: Invalid target default policy. {additionalInfo} '500': description: Internal Server Error x-response-codes: errors: '20500': domain: API_ACCOUNT category: APPLICATION description: System error. '20501': domain: API_ACCOUNT category: APPLICATION description: Service unavailable. Please try again in next 24 hours. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account /return_policy/get_by_policy_name: get: tags: - Return_policy description: 'This method retrieves the details of a specific return policy. Supply both the policy name and its associated marketplace_id in the request query parameters.

Marketplaces and locales

Get the correct policy for a marketplace that supports multiple locales using the Content-Language request header. For example, get a policy for the French locale of the Canadian marketplace by specifying fr-CA for the Content-Language header. Likewise, target the Dutch locale of the Belgium marketplace by setting Content-Language: nl-BE. For details on header values, see HTTP request headers.' operationId: getReturnPolicyByName parameters: - name: marketplace_id in: query description: This query parameter specifies the ID of the eBay marketplace of the policy you want to retrieve. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/account/types/ba:MarketplaceIdEnum required: true schema: type: string - name: name in: query description: This query parameter specifies the seller-defined name of the return policy you want to retrieve.

This value can be retrieved for a return policy by using the getReturnPolicies method. required: true schema: type: string responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ReturnPolicy' '400': description: Bad Request x-response-codes: errors: '20401': domain: API_ACCOUNT category: REQUEST description: Missing field {fieldName}. {additionalInfo} '20403': domain: API_ACCOUNT category: REQUEST description: Invalid {fieldName}. {additionalInfo} '20404': domain: API_ACCOUNT category: REQUEST description: '{fieldName} not found.' '500': description: Internal Server Error x-response-codes: errors: '20500': domain: API_ACCOUNT category: APPLICATION description: System error. '20501': domain: API_ACCOUNT category: APPLICATION description: Service unavailable. Please try again in next 24 hours. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly components: schemas: ReturnPolicyResponse: type: object properties: href: type: string description: This field is for future use. limit: type: integer description: This field is for future use. format: int32 next: type: string description: This field is for future use. offset: type: integer description: This field is for future use. format: int32 prev: type: string description: This field is for future use. returnPolicies: type: array description: A list of all of the seller's return business policies defined for the specified marketplace. This array will be returned as empty if no return business policies are defined for the specified marketplace. items: $ref: '#/components/schemas/ReturnPolicy' total: type: integer description: The total number of return business policies retrieved in the result set.

If no return business policies are defined for the specified marketplace, this field is returned with a value of 0. format: int32 description: 'The response payload for the getReturnPolicies method.

Note: Pagination has not yet been enabled for getReturnPolicies, so all of the pagination-related fields are for future use.' ReturnPolicy: 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 will always be 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 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. $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 payment business policy. Names must be unique for policies assigned to the same marketplace.

Max length: 64 refundMethod: type: string description: If a seller indicates that they will accept buyer returns, this value will be set 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 and it is no longer returned.

' 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.

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.


Max length: 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 eBay API documentation returnPeriod: 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.

Most categories support 30-day and 60-day return periods.

Note: Unless the seller has set a separate international return policy through the internationalOverride container, this return period will be valid for domestic and international returns (if the seller ships internationally).' $ref: '#/components/schemas/TimeDuration' returnPolicyId: type: string description: A unique eBay-assigned ID for a return business policy. This ID is generated when the policy is created. returnsAccepted: type: boolean description: If this field is returned as 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 either BUYER or SELLER.

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 eBay API documentation description: This type is used by the returnPolicy response container, a container which defines a seller's return business policy for a specific marketplace. ErrorParameter: type: object properties: name: type: string description: Name of the parameter that caused the error. value: type: string description: The value of the parameter that caused the error. description: A complex type that indicates a parameter that caused an error and the value of the parameter which caused the error. SetReturnPolicyResponse: type: object properties: categoryTypes: type: array description: This field always returns ALL_EXCLUDING_MOTORS_VEHICLES for return business policies, since return business policies are not applicable to motor vehicle listings. 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. This field is returned if set for the policy.

Max length: 250' extendedHolidayReturnsOffered: type: boolean description: '

Important! This field is deprecated, since eBay no longer supports extended holiday returns. This field should no longer be returned.

' internationalOverride: description: This container is used by the seller to specify a separate international return policy, and will only be returned if the seller has set a separate return policy for international orders. 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.

Max length: 64 refundMethod: type: string description: If a seller indicates that they will accept buyer returns, this value will be 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.

' 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.


Max length: 5000 (8000 for DE)' returnMethod: type: string description: This field will be returned if the seller is willing and able to offer a replacement item as an alternative to 'Money Back'. For implementation help, refer to eBay API documentation returnPeriod: description: This container specifies the amount of days that the buyer has to return the item after receiving it. The return period begins when the item is marked "delivered" at the buyer's specified ship-to location. This container will be returned unless the business policy states that the seller does not accept returns. $ref: '#/components/schemas/TimeDuration' returnPolicyId: type: string description: A unique eBay-assigned ID for a return business policy. This ID is generated when the policy is created. returnsAccepted: type: boolean description: If set to true, the seller accepts returns. If set to false, this field indicates that the seller does not accept returns. 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 BUYER or SELLER.

Note that the seller is always responsible for return shipping costs for SNAD-related issues.

This container will be returned unless the business policy states that the seller does not accept returns. For implementation help, refer to eBay API documentation warnings: type: array description: An array of one or more errors or warnings that were generated during the processing of the request. If there were no issues with the request, this array will return empty. items: $ref: '#/components/schemas/Error' description: A complex type that is populated with a response containing a return policies. 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.

Max length: 64' refundMethod: type: string description: 'This value indicates the refund method that will be used by the seller for buyer returns.

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.


Max length: 5000 (8000 for DE)' returnMethod: type: string description: This field can be used if the seller is willing and able to offer a replacement item as an alternative to 'Money Back'. For implementation help, refer to eBay API documentation returnPeriod: description: This container is used to specify the number of 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.

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 getReturnPolicies method of the Metadata API.

The return period is set using the TimeDuration type, where you set unit to DAY and value to either 30 or 60 (or other value, as appropriate).

Note that this value cannot be modified if the listing has bids or sales, or if the listing ends within 12 hours.

Required if returnsAccepted is set to 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 either BUYER or SELLER.

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.

This field is conditionally required if returnsAccepted is set to 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. Error: type: object properties: category: type: string description: 'The category type for this error or warning. It is a string that can have one of three values:' domain: type: string description: Name of the domain ,or primary system, of the service or application where the error occurred. errorId: type: integer description: A positive integer that uniquely identifies the specific error condition that occurred. Your application can use error codes as identifiers in your customized error-handling algorithms. format: int32 inputRefIds: type: array description: Identifies specific request elements associated with the error, if any. inputRefId's response is format specific. For JSON, use JSONPath notation. items: type: string longMessage: type: string description: A more detailed explanation of the error than given in the message error field. message: type: string description: Information on how to correct the problem, in the end user's terms and language where applicable. Its value is at most 50 characters long. If applicable, the value is localized in the end user's requested locale. outputRefIds: type: array description: Identifies specific response elements associated with the error, if any. Path format is the same as inputRefId. items: type: string parameters: type: array description: This optional list of name/value pairs that contain context-specific ErrorParameter objects, with each item in the list being a parameter (or input field name) that caused an error condition. Each ErrorParameter object consists of two fields, a name and a value. items: $ref: '#/components/schemas/ErrorParameter' subdomain: type: string description: If present, indicates the subsystem in which the error occurred. description: A container that defines the elements of error and warning messages. TimeDuration: type: object properties: unit: type: string description: These enum values represent the time measurement unit, such as DAY. A span of time is defined when you apply the value specified in the value field to the value specified for unit.

See TimeDurationUnitEnum for a complete list of possible time-measurement units. For implementation help, refer to eBay API documentation value: type: integer description: An integer that represents an amount of time, as measured by the time-measurement unit specified in the unit field. format: int32 description: A type used to specify a period of time using a specified time-measurement unit. Payment, return, and fulfillment business policies all use this type to specify time windows.

Whenever a container that uses this type is used in a request, both of these fields are required. Similarly, whenever a container that uses this type is returned in a response, both of these fields are always returned. CategoryType: type: object properties: default: type: boolean description: Note: This field has been deprecated and is no longer used. name: type: string description: The category type to which the policy applies (motor vehicles or non-motor vehicles).

The MOTORS_VEHICLES category type is not valid for return policies. eBay flows do not support the return of motor vehicles. For implementation help, refer to eBay API documentation description: The category type discerns whether the policy applies to motor vehicle listings, or to any other items except motor vehicle listings.

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. InternationalReturnOverrideType: type: object 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 eBay API documentation returnPeriod: 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.

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 getReturnPolicies method of the Metadata API.

The TimeDuration type is used to set/indicate the return period, and you set the unit value to DAY and the value field to either 30 or 60 (or other value, as appropriate).

Note that this value cannot be modified if the listing has bids or sales, or if the listing ends within 12 hours.

This field is conditionally required if the internationalOverride.returnsAccepted field is set to true. $ref: '#/components/schemas/TimeDuration' returnsAccepted: type: boolean description: If set to true, the seller accepts international returns. If set to false, the seller does not accept international returns.

This field is conditionally required if the seller chooses to have a separate international return policy. 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 BUYER or SELLER.

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.

This field is conditionally required if the internationalOverride.returnsAccepted field is set to true. For implementation help, refer to eBay API documentation description: 'This type defines the fields for a seller''s international return policy. Sellers have the ability to set separate domestic and international return policies, but if an international return policy is not set, the same return policy settings specified for the domestic return policy are also used for returns for international buyers. ' securitySchemes: api_auth: type: oauth2 description: The security definitions for this API. Please check individual operations for applicable scopes. flows: authorizationCode: authorizationUrl: https://auth.ebay.com/oauth2/authorize tokenUrl: https://api.ebay.com/identity/v1/oauth2/token scopes: https://api.ebay.com/oauth/api_scope/sell.account.readonly: View your account settings https://api.ebay.com/oauth/api_scope/sell.account: View and manage your account settings