openapi: 3.0.0 servers: - description: Production url: https://api.ebay.com{basePath} variables: basePath: default: /sell/account/v1 info: contact: name: eBay Inc, x-twitter: ebay 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. license: name: eBay API License Agreement url: https://go.developer.ebay.com/api-license-agreement title: Account API version: v1.9.0 x-apisguru-categories: - ecommerce x-logo: backgroundColor: "#FFFFFF" url: https://twitter.com/ebay/profile_image?size=original x-origin: - format: openapi url: https://developer.ebay.com/api-docs/master/sell/account/openapi/3/sell_account_v1_oas3.json version: "3.0" x-providerName: ebay.com x-serviceName: sell-account paths: /advertising_eligibility: get: description: This method allows developers to check the seller eligibility status for eBay advertising programs. operationId: getAdvertisingEligibility parameters: - description: A comma-separated list of eBay advertising programs.

Tip: See the AdvertisingProgramEnum type for possible values.

If no programs are specified, the results will be returned for all programs. in: query name: program_types required: false schema: type: string - description: The unique identifier of the eBay marketplace for which the seller eligibility status shall be checked.

Note: This value is case-sensitive. in: header name: X-EBAY-C-MARKETPLACE-ID required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/SellerEligibilityMultiProgramResponse" description: Success "400": description: Bad Request x-response-codes: errors: "50114": category: REQUEST description: The HTTP request header 'X-EBAY-C-MARKETPLACE-ID' is required. domain: API_ACCOUNT "50116": category: REQUEST description: Invalid program_type(s) {programTypes}. domain: API_ACCOUNT "50117": category: REQUEST description: Invalid marketplaceId in HTTP request header 'X-EBAY-C-MARKETPLACE-ID' {marketplaceId}. domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "35001": category: APPLICATION description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance. domain: API_ACCOUNT "35002": category: APPLICATION description: Internal error. Please wait a few minutes and try the call again. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - advertising_eligibility /custom_policy/: get: description: 'This method retrieves the list of custom policies specified by the policy_types query parameter for the selected eBay marketplace.

Note: The following eBay marketplaces support Custom Policies:

Important!As a part of Digital Services Act (DSA) requirements, all custom policies will become global (and no longer marketplace-specific) on April 3, 2023. A seller will be able to apply any custom policy to listings on any eBay marketplace where they sell.

Due to this change, the X-EBAY-C-MARKETPLACE-ID request header is no longer relevant. If this header is passed in after April 3, it will just be ignored in all four methods.



For details on header values, see HTTP request headers.' operationId: getCustomPolicies parameters: - description: 'This query parameter specifies the type of custom policies to be returned.

Multiple policy types may be requested in a single call by providing a comma-delimited set of all policy types to be returned.

Note: Omitting this query parameter from a request will also return policies of all policy types.

Two Custom Policy types are supported: ' in: query name: policy_types required: false schema: type: string - description: 'This header parameter specifies the eBay marketplace for the custom policy that is being created. Supported values for this header can be found in the MarketplaceIdEnum type definition.

Note: The following eBay marketplaces support Custom Policies:

Important!As a part of Digital Services Act (DSA) requirements, all custom policies will become global (and no longer marketplace-specific) on April 3, 2023. A seller will be able to apply any custom policy to listings on any eBay marketplace where they sell.

Due to this change, the X-EBAY-C-MARKETPLACE-ID request header is no longer relevant. If this header is passed in after April 3, it will just be ignored in all four methods.

' in: header name: X-EBAY-C-MARKETPLACE-ID required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/CustomPolicyResponse" description: Success "400": description: Bad Request x-response-codes: errors: "20411": category: REQUEST description: Invalid/Missing policyTypes {policyType} domain: API_ACCOUNT "20415": category: REQUEST description: Invalid/Missing marketplaceId domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - custom_policy post: description: "This method creates a new custom policy in which a seller specifies their terms for complying with local governmental regulations.

Two Custom Policy types are supported: Each Custom Policy targets a policyType and eBay marketplace combination. Multiple policies may be created as follows: A successful create policy call returns an HTTP status code of 201 Created with the system-generated policy ID included in the Location response header.

Product Compliance Policy

Product Compliance policies disclose product information as required for regulatory compliance.

Note: A maximum of 10 Product Compliance policies per eBay marketplace may be created.

Takeback Policy

Takeback policies describe the seller's legal obligation to take back a previously purchased item when the buyer purchases a new one.

Note: A maximum of 3 Takeback policies per eBay marketplace may be created.

Important!As a part of Digital Services Act (DSA) requirements, all custom policies will become global (and no longer marketplace-specific) on April 3, 2023. A seller will be able to apply any custom policy to listings on any eBay marketplace where they sell.

Due to this change, the X-EBAY-C-MARKETPLACE-ID request header is no longer relevant. If this header is passed in after April 3, it will just be ignored in all four methods.

" operationId: createCustomPolicy parameters: - description: 'This header parameter specifies the eBay marketplace for the custom policy that is being created. Supported values for this header can be found in the MarketplaceIdEnum type definition.

Note: The following eBay marketplaces support Custom Policies:

Important!As a part of Digital Services Act (DSA) requirements, all custom policies will become global (and no longer marketplace-specific) on April 3, 2023. A seller will be able to apply any custom policy to listings on any eBay marketplace where they sell.

Due to this change, the X-EBAY-C-MARKETPLACE-ID request header is no longer relevant. If this header is passed in after April 3, it will just be ignored in all four methods.

' in: header name: X-EBAY-C-MARKETPLACE-ID required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CustomPolicyCreateRequest" description: Request to create a new Custom Policy. description: Request to create a new Custom Policy. required: true responses: "201": content: application/json: schema: type: object description: Created headers: Location: schema: description: The location response header contains the URL to the newly created custom policy. The URL includes the eBay-assigned custom_policy_id, which can be used to reference the policy. type: string "400": description: Bad Request x-response-codes: errors: "20411": category: REQUEST description: Invalid/Missing policyType domain: API_ACCOUNT "20412": category: REQUEST description: Invalid/Missing label domain: API_ACCOUNT "20413": category: REQUEST description: Invalid/Missing name domain: API_ACCOUNT "20414": category: REQUEST description: Invalid/Missing description domain: API_ACCOUNT "20415": category: REQUEST description: Invalid/Missing marketplaceId domain: API_ACCOUNT "20417": category: REQUEST description: Maximum custom policy per site is reached domain: API_ACCOUNT "20418": category: REQUEST description: This policy name is already used domain: API_ACCOUNT "409": description: Policy Name already used/ Maximum no of policies per site reached "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - custom_policy "/custom_policy/{custom_policy_id}": get: description: 'This method retrieves the custom policy specified by the custom_policy_id path parameter for the selected eBay marketplace.

Note: The following eBay marketplaces support Custom Policies:

Important!As a part of Digital Services Act (DSA) requirements, all custom policies will become global (and no longer marketplace-specific) on April 3, 2023. A seller will be able to apply any custom policy to listings on any eBay marketplace where they sell.

Due to this change, the X-EBAY-C-MARKETPLACE-ID request header is no longer relevant. If this header is passed in after April 3, it will just be ignored in all four methods.



For details on header values, see HTTP request headers.' operationId: getCustomPolicy parameters: - description: This path parameter is the unique custom policy identifier for the policy to be returned.

Note: This value is automatically assigned by the system when the policy is created. in: path name: custom_policy_id required: true schema: type: string - description: 'This header parameter specifies the eBay marketplace for the custom policy that is being created. Supported values for this header can be found in the MarketplaceIdEnum type definition.

Note: The following eBay marketplaces support Custom Policies:

Important!As a part of Digital Services Act (DSA) requirements, all custom policies will become global (and no longer marketplace-specific) on April 3, 2023. A seller will be able to apply any custom policy to listings on any eBay marketplace where they sell.

Due to this change, the X-EBAY-C-MARKETPLACE-ID request header is no longer relevant. If this header is passed in after April 3, it will just be ignored in all four methods.

' in: header name: X-EBAY-C-MARKETPLACE-ID required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/CustomPolicy" description: Success "400": description: Bad Request x-response-codes: errors: "20415": category: REQUEST description: Invalid/Missing marketplaceId domain: API_ACCOUNT "20416": category: REQUEST description: Invalid/Missing customPolicyId domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - custom_policy put: description: "This method updates an existing custom policy specified by the custom_policy_id path parameter for the selected marketplace. This method overwrites the policy's Name, Label, and Description fields. Therefore, the complete, current text of all three policy fields must be included in the request payload even when one or two of these fields will not actually be updated.

For example, the value for the Label field is to be updated, but the Name and Description values will remain unchanged. The existing Name and Description values, as they are defined in the current policy, must also be passed in.

A successful policy update call returns an HTTP status code of 204 No Content.

Note: The following eBay marketplaces support Custom Policies:

Important!As a part of Digital Services Act (DSA) requirements, all custom policies will become global (and no longer marketplace-specific) on April 3, 2023. A seller will be able to apply any custom policy to listings on any eBay marketplace where they sell.

Due to this change, the X-EBAY-C-MARKETPLACE-ID request header is no longer relevant. If this header is passed in after April 3, it will just be ignored in all four methods.



For details on header values, see HTTP request headers." operationId: updateCustomPolicy parameters: - description: This path parameter is the unique custom policy identifier for the policy to be returned.

Note: This value is automatically assigned by the system when the policy is created. in: path name: custom_policy_id required: true schema: type: string - description: 'This header parameter specifies the eBay marketplace for the custom policy that is being created. Supported values for this header can be found in the MarketplaceIdEnum type definition.

Note: The following eBay marketplaces support Custom Policies:

Important!As a part of Digital Services Act (DSA) requirements, all custom policies will become global (and no longer marketplace-specific) on April 3, 2023. A seller will be able to apply any custom policy to listings on any eBay marketplace where they sell.

Due to this change, the X-EBAY-C-MARKETPLACE-ID request header is no longer relevant. If this header is passed in after April 3, it will just be ignored in all four methods.

' in: header name: X-EBAY-C-MARKETPLACE-ID required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/CustomPolicyRequest" description: Request to update a current custom policy. description: Request to update a current custom policy. required: true responses: "204": description: No Content "400": description: Bad Request x-response-codes: errors: "20412": category: REQUEST description: Invalid/Missing label domain: API_ACCOUNT "20413": category: REQUEST description: Invalid/Missing name domain: API_ACCOUNT "20414": category: REQUEST description: Invalid/Missing description domain: API_ACCOUNT "20415": category: REQUEST description: Invalid/Missing marketplaceId domain: API_ACCOUNT "20416": category: REQUEST description: Invalid/Missing customPolicyId domain: API_ACCOUNT "20418": category: REQUEST description: This policy name is already used domain: API_ACCOUNT "404": description: Not Found "409": description: Policy Name already used/ Maximum no of policies per site reached "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - custom_policy /fulfillment_policy: get: description: 'This method retrieves all the fulfillment 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: getFulfillmentPolicies parameters: - description: This query parameter specifies the eBay marketplace of the policies you want to retrieve. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/account/types/ba:MarketplaceIdEnum in: query name: marketplace_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/FulfillmentPolicyResponse" description: Success "400": description: Bad Request x-response-codes: errors: "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - fulfillment_policy /fulfillment_policy/: post: description: This method creates a new fulfillment policy where the policy encapsulates seller's terms for fulfilling item purchases. Fulfillment policies include the shipment options that the seller offers to buyers.

Each policy targets a specific eBay marketplace and a category group type, and you can create multiple policies for each combination.

A successful request returns the getFulfillmentPolicy 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.

Using the eBay standard envelope service (eSE)

The eBay standard envelope service (eSE) is a domestic envelope service with tracking through eBay. This service applies to specific Trading Cards categories (not all categories are supported), and to Coins & Paper Money, Postcards, and Stamps. See Using the eBay standard envelope (eSE) service.

operationId: createFulfillmentPolicy requestBody: content: application/json: schema: $ref: "#/components/schemas/FulfillmentPolicyRequest" description: Request to create a seller account fulfillment policy. description: Request to create a seller account fulfillment policy. required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/SetFulfillmentPolicyResponse" description: Created headers: Location: schema: description: The location response header contains the URL to the newly created fulfillment policy. The URL includes the eBay-assigned fulfillmentPolicyId, which you can use to reference the policy. type: string x-response-codes: errors: "20200": category: BUSINESS description: Warning. {additionalInfo} domain: API_ACCOUNT "20201": category: BUSINESS description: "{fieldName} (Click and Collect Program) can not be enabled for this seller or marketplace." domain: API_ACCOUNT "400": description: Bad Request x-response-codes: errors: "20400": category: REQUEST description: Invalid request. {additionalInfo} domain: API_ACCOUNT "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20402": category: REQUEST description: Invalid input. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - fulfillment_policy /fulfillment_policy/get_by_policy_name: get: description: 'This method retrieves the details for a specific fulfillment policy. In the request, supply both the policy name and its associated marketplace_id as 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: getFulfillmentPolicyByName parameters: - description: This query parameter specifies 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 in: query name: marketplace_id required: true schema: type: string - description: This query parameter specifies the seller-defined name of the fulfillment policy you want to retrieve. in: query name: name required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/FulfillmentPolicy" description: Success "400": description: Bad Request x-response-codes: errors: "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - fulfillment_policy "/fulfillment_policy/{fulfillmentPolicyId}": delete: description: This method deletes a fulfillment policy. Supply the ID of the policy you want to delete in the fulfillmentPolicyId path parameter. operationId: deleteFulfillmentPolicy parameters: - description: This path parameter specifies the ID of the fulfillment policy to delete. in: path name: fulfillmentPolicyId required: true schema: type: string responses: "204": description: No Content "400": description: Bad Request x-response-codes: errors: "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20402": category: REQUEST description: Invalid input. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "404": description: Not Found "409": description: Conflict x-response-codes: errors: "20409": category: BUSINESS description: Invalid default policy type. {additionalInfo} domain: API_ACCOUNT "21409": category: BUSINESS description: Invalid default for category type. {additionalInfo} domain: API_ACCOUNT "22409": category: BUSINESS description: Invalid target default policy. {additionalInfo} domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - fulfillment_policy get: description: This method retrieves the complete details of a fulfillment policy. Supply the ID of the policy you want to retrieve using the fulfillmentPolicyId path parameter. operationId: getFulfillmentPolicy parameters: - description: This path parameter specifies the ID of the fulfillment policy you want to retrieve. in: path name: fulfillmentPolicyId required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/FulfillmentPolicy" description: Success "400": description: Bad Request x-response-codes: errors: "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - fulfillment_policy put: description: This method updates an existing fulfillment policy. Specify the policy you want to update using the fulfillment_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: updateFulfillmentPolicy parameters: - description: This path parameter specifies the ID of the fulfillment policy you want to update. in: path name: fulfillmentPolicyId required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/FulfillmentPolicyRequest" description: Fulfillment policy request description: Fulfillment policy request required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/SetFulfillmentPolicyResponse" description: OK x-response-codes: errors: "20200": category: BUSINESS description: Warning. {additionalInfo} domain: API_ACCOUNT "20201": category: BUSINESS description: "{fieldName} (Click and Collect Program) can not be enabled for this seller or marketplace." domain: API_ACCOUNT "400": description: Bad Request x-response-codes: errors: "20400": category: REQUEST description: Invalid request. {additionalInfo} domain: API_ACCOUNT "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20402": category: REQUEST description: Invalid input. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - fulfillment_policy /kyc: get: description: Note:This method was originally created to see which onboarding requirements were still pending for sellers being onboarded for eBay managed payments, but now that all seller accounts are onboarded globally, this method should now just returne an empty payload with a 204 No Content HTTP status code. operationId: getKYC responses: "200": content: application/json: schema: $ref: "#/components/schemas/KycResponse" description: OK "204": description: No Content "400": description: Bad Request x-response-codes: errors: "21400": category: REQUEST description: This marketplace is not supported. Please refer to documentation. domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - kyc /payment_policy: get: description: 'This method retrieves all the payment 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: getPaymentPolicies parameters: - description: This query parameter specifies the eBay marketplace of the policies you want to retrieve. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/account/types/ba:MarketplaceIdEnum in: query name: marketplace_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PaymentPolicyResponse" description: Success "400": description: Bad Request x-response-codes: errors: "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - payment_policy post: description: This method creates a new payment policy where the policy encapsulates seller's terms for order payments.

Each policy targets a specific eBay marketplace and category group, and you can create multiple policies for each combination.

A successful request returns the getPaymentPolicy 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: createPaymentPolicy requestBody: content: application/json: schema: $ref: "#/components/schemas/PaymentPolicyRequest" description: Payment policy request description: Payment policy request required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/SetPaymentPolicyResponse" description: Created headers: Location: schema: description: The location response header contains the URL to the newly created payment policy. The URL includes the eBay-assigned paymentPolicyId, which you can use to reference the policy. type: string x-response-codes: errors: "20200": category: BUSINESS description: Warning. {additionalInfo} domain: API_ACCOUNT "400": description: Bad Request x-response-codes: errors: "20400": category: REQUEST description: Invalid request. {additionalInfo} domain: API_ACCOUNT "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "20405": category: REQUEST description: Invalid payment method. {fieldName} domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - payment_policy /payment_policy/get_by_policy_name: get: description: 'This method retrieves the details of a specific payment 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: getPaymentPolicyByName parameters: - description: This query parameter specifies 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 in: query name: marketplace_id required: true schema: type: string - description: This query parameter specifies the seller-defined name of the payment policy you want to retrieve. in: query name: name required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PaymentPolicy" description: Success "400": description: Bad Request x-response-codes: errors: "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - payment_policy "/payment_policy/{payment_policy_id}": delete: description: "This method deletes a payment policy. Supply the ID of the policy you want to delete in the paymentPolicyId path parameter. " operationId: deletePaymentPolicy parameters: - description: This path parameter specifies the ID of the payment policy you want to delete. in: path name: payment_policy_id required: true schema: type: string responses: "204": description: No Content "400": description: Bad Request x-response-codes: errors: "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20402": category: REQUEST description: Invalid input. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "404": description: Not Found "409": description: Conflict x-response-codes: errors: "20409": category: BUSINESS description: Invalid default policy type. {additionalInfo} domain: API_ACCOUNT "21409": category: BUSINESS description: Invalid default for category type. {additionalInfo} domain: API_ACCOUNT "22409": category: BUSINESS description: Invalid target default policy. {additionalInfo} domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - payment_policy get: description: This method retrieves the complete details of a payment policy. Supply the ID of the policy you want to retrieve using the paymentPolicyId path parameter. operationId: getPaymentPolicy parameters: - description: This path parameter specifies the ID of the payment policy you want to retrieve. in: path name: payment_policy_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PaymentPolicy" description: Success "400": description: Bad Request x-response-codes: errors: "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - payment_policy put: description: This method updates an existing payment policy. Specify the policy you want to update using the payment_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: updatePaymentPolicy parameters: - description: This path parameter specifies the ID of the payment policy you want to update. in: path name: payment_policy_id required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/PaymentPolicyRequest" description: Payment policy request description: Payment policy request required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/SetPaymentPolicyResponse" description: OK x-response-codes: errors: "20200": category: BUSINESS description: Warning. {additionalInfo} domain: API_ACCOUNT "400": description: Bad Request x-response-codes: errors: "20400": category: REQUEST description: Invalid request. {additionalInfo} domain: API_ACCOUNT "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20402": category: REQUEST description: Invalid input. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "20405": category: REQUEST description: Invalid payment method. {fieldName} domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - payment_policy "/payments_program/{marketplace_id}/{payments_program_type}": get: description: Note: This method is no longer applicable, as all seller accounts globally have been enabled for the new eBay payment and checkout flow.

This method returns whether or not the user is opted-in to the specified payments program. Sellers opt-in to payments programs by marketplace and you use the marketplace_id path parameter to specify the marketplace of the status flag you want returned. operationId: getPaymentsProgram parameters: - description: This path parameter specifies the eBay marketplace of the payments program for which you want to retrieve the seller's status. in: path name: marketplace_id required: true schema: type: string - description: This path parameter specifies the payments program whose status is returned by the call. in: path name: payments_program_type required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PaymentsProgramResponse" description: Success "400": description: Bad Request x-response-codes: errors: "20408": category: REQUEST description: No payment program available. The user may not be registered to the specified site or the site may not be supported by the payments program. domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: Application error domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - payments_program "/payments_program/{marketplace_id}/{payments_program_type}/onboarding": get: description: Note: This method is no longer applicable, as all seller accounts globally have been enabled for the new eBay payment and checkout flow.

This method retrieves a seller's onboarding status for a payments program for a specified marketplace. The overall onboarding status of the seller and the status of each onboarding step is returned. operationId: getPaymentsProgramOnboarding parameters: - description: The eBay marketplace ID associated with the onboarding status to retrieve. in: path name: marketplace_id required: true schema: type: string - description: The type of payments program whose status is returned by the method. in: path name: payments_program_type required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PaymentsProgramOnboardingResponse" description: Success "400": description: Bad Request x-response-codes: errors: "20408": category: REQUEST description: No payments program available. The user may not be registered to the specified site or the site may not be supported by the payments program. domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: Application error domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - onboarding /privilege: get: description: This method retrieves the seller's current set of privileges, including whether or not the seller's eBay registration has been completed, as well as the details of their site-wide sellingLimt (the amount and quantity they can sell on a given day). operationId: getPrivileges responses: "200": content: application/json: schema: $ref: "#/components/schemas/SellingPrivileges" description: Success "400": description: Bad Request "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - privilege /program/get_opted_in_programs: get: description: This method gets a list of the seller programs that the seller has opted-in to. operationId: getOptedInPrograms responses: "200": content: application/json: schema: $ref: "#/components/schemas/Programs" description: Success "400": description: Bad Request x-response-codes: errors: "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - program /program/opt_in: post: description: This method opts the seller in to an eBay seller program. Refer to the Account API overview for information about available eBay seller programs.

Note: It can take up to 24-hours for eBay to process your request to opt-in to a Seller Program. Use the getOptedInPrograms call to check the status of your request after the processing period has passed. operationId: optInToProgram requestBody: content: application/json: schema: $ref: "#/components/schemas/Program" description: Program being opted-in to. description: Program being opted-in to. required: true responses: "200": content: application/json: schema: type: object description: Success "400": description: Bad Request x-response-codes: errors: "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "404": description: Not Found "409": description: Conflict x-response-codes: errors: "25803": category: BUSINESS description: "{fieldName} already exists." domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - program /program/opt_out: post: description: This method opts the seller out of a seller program to which you have previously opted-in to. Get a list of the seller programs you have opted-in to using the getOptedInPrograms call. operationId: optOutOfProgram requestBody: content: application/json: schema: $ref: "#/components/schemas/Program" description: Program being opted-out of. description: Program being opted-out of. required: true responses: "200": content: application/json: schema: type: object description: Success "400": description: Bad Request x-response-codes: errors: "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "25804": category: REQUEST description: "{fieldName} already exists" domain: API_ACCOUNT "404": description: Not Found "409": description: Conflict "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - program /rate_table: get: description: This method retrieves a seller's shipping rate tables for the country specified in the country_code query parameter. If you call this method without specifying a country code, the call returns all of the seller's shipping rate tables.

The method's response includes a rateTableId for each table defined by the seller. This rateTableId value is used in add/revise item call or in create/update fulfillment business policy call to specify the shipping rate table to use for that policy's domestic or international shipping options.

This call currently supports getting rate tables related to the following marketplaces: Note: Rate tables created with the Trading API might not have been assigned a rateTableId at the time of their creation. This method can assign and return rateTableId values for rate tables with missing IDs if you make a request using the country_code where the seller has defined rate tables.

Sellers can define up to 40 shipping rate tables for their account, which lets them set up different rate tables for each of the marketplaces they sell into. Go to Shipping rate tables in My eBay to create and update rate tables. operationId: getRateTables parameters: - description: This query parameter specifies the two-letter ISO 3166 code of country for which you want shipping rate table information. If you do not specify a country code, the request returns all of the seller's defined shipping rate tables for all eBay marketplaces. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/account/types/ba:CountryCodeEnum in: query name: country_code required: false schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/RateTableResponse" description: Success "400": description: Bad Request x-response-codes: errors: "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - rate_table /return_policy: get: 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: - 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 in: query name: marketplace_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/ReturnPolicyResponse" description: Success "400": description: Bad Request x-response-codes: errors: "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - return_policy post: 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 requestBody: content: application/json: schema: $ref: "#/components/schemas/ReturnPolicyRequest" description: Return policy request description: Return policy request required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/SetReturnPolicyResponse" description: Created headers: Location: schema: 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. type: string x-response-codes: errors: "20200": category: BUSINESS description: Warning. {additionalInfo} domain: API_ACCOUNT "400": description: Bad Request x-response-codes: errors: "20400": category: REQUEST description: Invalid request. {additionalInfo} domain: API_ACCOUNT "20401": category: REQUEST description: Missing field . domain: API_ACCOUNT "20406": category: REQUEST description: Invalid return option domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - return_policy /return_policy/get_by_policy_name: get: 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: - 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 in: query name: marketplace_id required: true schema: type: string - description: This query parameter specifies the seller-defined name of the return policy you want to retrieve. in: query name: name required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/ReturnPolicy" description: Success "400": description: Bad Request x-response-codes: errors: "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - return_policy "/return_policy/{return_policy_id}": delete: 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: - description: This path parameter specifies the ID of the return policy you want to delete. in: path name: return_policy_id required: true schema: type: string responses: "204": description: No Content "400": description: Bad Request x-response-codes: errors: "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20402": category: REQUEST description: Invalid input. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "404": description: Not Found "409": description: Conflict x-response-codes: errors: "20409": category: BUSINESS description: Invalid default policy type. {additionalInfo} domain: API_ACCOUNT "21409": category: BUSINESS description: Invalid default for category type. {additionalInfo} domain: API_ACCOUNT "22409": category: BUSINESS description: Invalid target default policy. {additionalInfo} domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - return_policy get: description: This method retrieves the complete details of the return policy specified by the returnPolicyId path parameter. operationId: getReturnPolicy parameters: - description: This path parameter specifies the of the return policy you want to retrieve. in: path name: return_policy_id required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/ReturnPolicy" description: Success "400": description: Bad Request x-response-codes: errors: "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - return_policy put: 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: - description: This path parameter specifies the ID of the return policy you want to update. in: path name: return_policy_id required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/ReturnPolicyRequest" description: Container for a return policy request. description: Container for a return policy request. required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/SetReturnPolicyResponse" description: OK x-response-codes: errors: "20200": category: BUSINESS description: Warning. {additionalInfo} domain: API_ACCOUNT "400": description: Bad Request x-response-codes: errors: "20400": category: REQUEST description: Invalid request. {additionalInfo} domain: API_ACCOUNT "20401": category: REQUEST description: Missing field {fieldName}. domain: API_ACCOUNT "20402": category: REQUEST description: Invalid input. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "20406": category: REQUEST description: Invalid return option. {fieldName} domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT "20501": category: APPLICATION description: Service unavailable. Please try again in next 24 hours. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - return_policy /sales_tax: get: description: Use this call to retrieve all sales tax table entries that the seller has defined for a specific country. All four response fields will be returned for each tax jurisdiction that matches the search criteria.

Important! In most US states and territories, eBay now 'collects and remits' sales tax, so sellers can no longer configure sales tax rates for these states/territories. operationId: getSalesTaxes parameters: - description: This path parameter specifies the two-letter ISO 3166 code for the country whose tax table you want to retrieve. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/account/types/ba:CountryCodeEnum in: query name: country_code required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/SalesTaxes" description: Success "400": description: Bad Request x-response-codes: errors: "20400": category: REQUEST description: Invalid request. {additionalInfo} domain: API_ACCOUNT "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - sales_tax "/sales_tax/{countryCode}/{jurisdictionId}": delete: description: This call deletes a sales tax table entry for a jurisdiction. Specify the jurisdiction to delete using the countryCode and jurisdictionId path parameters. operationId: deleteSalesTax parameters: - description: This path parameter specifies the two-letter ISO 3166 code for the country whose sales tax table entry you want to delete. in: path name: countryCode required: true schema: type: string - description: This path parameter specifies the ID of the sales tax jurisdiction whose table entry you want to delete. Retrieve valid jurisdiction IDs using getSalesTaxJurisdictions in the Metadata API. in: path name: jurisdictionId required: true schema: type: string responses: "204": description: Success "400": description: Bad Request x-response-codes: errors: "20400": category: REQUEST description: Invalid request. {additionalInfo} domain: API_ACCOUNT "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20407": category: REQUEST description: Tax table not supported for {fieldName}. domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - sales_tax get: description: This call gets the current sales tax table entry for a specific tax jurisdiction. Specify the jurisdiction to retrieve using the countryCode and jurisdictionId path parameters. All four response fields will be returned if a sales tax entry exists for the tax jurisdiction. Otherwise, the response will be returned as empty.

Important! In most US states and territories, eBay now 'collects and remits' sales tax, so sellers can no longer configure sales tax rates for these states/territories. operationId: getSalesTax parameters: - description: This path parameter specifies the two-letter ISO 3166 code for the country whose sales tax table you want to retrieve. in: path name: countryCode required: true schema: type: string - description: This path parameter specifies the ID of the sales tax jurisdiction for the tax table entry you want to retrieve. Retrieve valid jurisdiction IDs using getSalesTaxJurisdictions in the Metadata API. in: path name: jurisdictionId required: true schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/SalesTax" description: Success "204": description: No content "400": description: Bad Request x-response-codes: errors: "20400": category: REQUEST description: Invalid request. {additionalInfo} domain: API_ACCOUNT "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20407": category: REQUEST description: Tax table not supported for {fieldName}. domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - sales_tax put: description: "This method creates or updates a sales tax table entry for a jurisdiction. Specify the tax table entry you want to configure using the two path parameters: countryCode and jurisdictionId.

A tax table entry for a jurisdiction is comprised of two fields: one for the jurisdiction's sales-tax rate and another that's a boolean value indicating whether or not shipping and handling are taxed in the jurisdiction.

You can set up tax tables for countries that support different tax jurisdictions. Currently, only Canada, India, and the US support separate tax jurisdictions. If you sell into any of these countries, you can set up tax tables for any of the country's jurisdictions. Retrieve valid jurisdiction IDs using getSalesTaxJurisdictions in the Metadata API.

For details on using this call, see Establishing sales-tax tables.

Important! In the US, eBay now 'collects and remits' sales tax for every US state except for Missouri (and a few US territories), so sellers can no longer configure sales tax rates for any states except Missouri. With eBay 'collect and remit', eBay calculates the sales tax, collects the sales tax from the buyer, and remits the sales tax to the tax authorities at the buyer's location." operationId: createOrReplaceSalesTax parameters: - description: This path parameter specifies the two-letter ISO 3166 code for the country for which you want to create a sales tax table entry. in: path name: countryCode required: true schema: type: string - description: This path parameter specifies the ID of the tax jurisdiction for the table entry you want to create. Retrieve valid jurisdiction IDs using getSalesTaxJurisdictions in the Metadata API. in: path name: jurisdictionId required: true schema: type: string requestBody: content: application/json: schema: $ref: "#/components/schemas/SalesTaxBase" description: A container that describes the how the sales tax is calculated. description: A container that describes the how the sales tax is calculated. required: true responses: "204": description: No Content "400": description: Bad Request x-response-codes: errors: "20400": category: REQUEST description: Invalid request. {additionalInfo} domain: API_ACCOUNT "20401": category: REQUEST description: Missing field {fieldName}. {additionalInfo} domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "20404": category: REQUEST description: "{fieldName} not found." domain: API_ACCOUNT "20407": category: REQUEST description: Tax table not supported for {fieldName}. domain: API_ACCOUNT "404": description: Not Found "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account tags: - sales_tax /subscription: get: description: This method retrieves a list of subscriptions associated with the seller account. operationId: getSubscription parameters: - description: This field is for future use. in: query name: limit required: false schema: type: string - description: This field is for future use. in: query name: continuation_token required: false schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/SubscriptionResponse" description: Success "400": description: Bad Request x-response-codes: errors: "20400": category: REQUEST description: Invalid request domain: API_ACCOUNT "20403": category: REQUEST description: Invalid {fieldName}. {additionalInfo} domain: API_ACCOUNT "500": description: Internal Server Error x-response-codes: errors: "20500": category: APPLICATION description: System error. domain: API_ACCOUNT security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.account - https://api.ebay.com/oauth/api_scope/sell.account.readonly tags: - subscription components: schemas: Amount: description: A complex type that describes the value of a monetary amount as represented by a global currency. When passing in an amount in a request payload, both currency and value fields are required, and both fields are also always returned for an amount in a response field. properties: currency: description: The base currency applied to the value field to establish a monetary amount.

The currency is represented as a 3-letter ISO 4217 currency code. For example, the code for the Canadian Dollar is CAD.

Default: The default currency of the eBay marketplace that hosts the listing. For implementation help, refer to eBay API documentation type: string value: description: The monetary amount in the specified currency. type: string type: object CategoryType: 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. properties: default: description: Note: This field has been deprecated and is no longer used. type: boolean name: 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 type: string type: object CompactCustomPolicyResponse: description: The response payload for requests that return a list of custom policies. properties: customPolicyId: description: The unique custom policy identifier for the policy being returned.

Note: This value is automatically assigned by the system when the policy is created. type: string label: description: Customer-facing label shown on View Item pages for items to which the policy applies. This seller-defined string is displayed as a system-generated hyperlink pointing to detailed policy information.

Max length: 65 type: string name: description: The seller-defined name for the custom policy. Names must be unique for policies assigned to the same seller, policy type, and eBay marketplace.
Note: This field is visible only to the seller.

Max length: 65 type: string policyType: description: "Specifies the type of Custom Policy being returned.

Two Custom Policy types are supported: For implementation help, refer to eBay API documentation" type: string type: object CustomPolicy: description: This container defines a seller's custom policy identified by policy ID for the selected eBay marketplace. A successful call returns the requested policy information. properties: customPolicyId: description: The unique custom policy identifier for a policy.

Note: This value is automatically assigned by the system when the policy is created. type: string description: description: Details of the seller's specific policy and terms associated with the policy. Buyers access this information from the View Item page for items to which the policy has been applied.

Max length: 15,000 type: string label: description: Customer-facing label shown on View Item pages for items to which the policy applies. This seller-defined string is displayed as a system-generated hyperlink pointing to detailed policy information.

Max length: 65 type: string name: description: The seller-defined name for the custom policy. Names must be unique for policies assigned to the same seller, policy type, and eBay marketplace.
Note: This field is visible only to the seller.

Max length: 65 type: string policyType: description: "Specifies the type of Custom Policy.

Two Custom Policy types are supported: For implementation help, refer to eBay API documentation" type: string type: object CustomPolicyCreateRequest: description: This type is used by the request payload of the createCustomPolicy method to define a new custom policy for a specific marketplace. properties: description: description: Details of the seller's specific policy and terms for this policy.

Max length: 15,000 type: string label: description: Customer-facing label shown on View Item pages for items to which the policy applies. This seller-defined string is displayed as a system-generated hyperlink pointing to detailed policy information.

Max length: 65 type: string name: description: The seller-defined name for the custom policy. Names must be unique for policies assigned to the same seller, policy type, and eBay marketplace.
Note: This field is visible only to the seller.

Max length: 65 type: string policyType: description: "Specifies the type of custom policy being created.

Two Custom Policy types are supported: For implementation help, refer to eBay API documentation" type: string type: object CustomPolicyRequest: properties: description: description: Details of the seller's specific policy and terms for this policy.

Max length: 15,000 type: string label: description: Customer-facing label shown on View Item pages for items to which the policy applies. This seller-defined string is displayed as a system-generated hyperlink pointing to detailed policy information.

Max length: 65 type: string name: description: The seller-defined name for the custom policy. Names must be unique for policies assigned to the same seller, policy type, and eBay marketplace.
Note: This field is visible only to the seller.

Max length: 65 type: string type: object CustomPolicyResponse: properties: customPolicies: description: This array contains the custom policies that match the input criteria. items: $ref: "#/components/schemas/CompactCustomPolicyResponse" type: array href: description: This field is for future use. type: string limit: description: This field is for future use. format: int32 type: integer next: description: This field is for future use. type: string offset: description: This field is for future use. format: int32 type: integer prev: description: This field is for future use. type: string total: description: This field is for future use. format: int32 type: integer type: object Deposit: description: This type is used to specify/indicate that an initial deposit is required for a motor vehicle listing. properties: amount: $ref: "#/components/schemas/Amount" description: "This value indicates the initial deposit amount required from the buyer in order to purchase a motor vehicle. This value can be as high as $2,000.00 if immediate payment is not required, and up to $500.00 if immediate payment is required.

Max: 2000.0" dueIn: $ref: "#/components/schemas/TimeDuration" description: 'This value indicates the number of hours that the buyer has (after they commit to buy) to pay the initial deposit on a motor vehicle. Valid dueIn times are 24, 48, and 72 hours. HOUR is set as the unit value, and 24, 48 or 72 are set in the value field.

Note: The dueIn value is overridden if the seller has set the motor vehicle listing to require immediate payment. If the listing requires immediate payment, the buyer must pay the deposit immediately in order to be eligible to purchase the motor vehicle.

Min=24 (hours)Max=72 (hours), Default=48 (hours)' paymentMethods: description: This array is no longer applicable and should not be used since eBay now manages the electronic payment options available to buyers to pay the deposit. items: $ref: "#/components/schemas/PaymentMethod" type: array type: object Error: description: A container that defines the elements of error and warning messages. properties: category: description: "The category type for this error or warning. It is a string that can have one of three values:" type: string domain: description: Name of the domain ,or primary system, of the service or application where the error occurred. type: string errorId: 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 type: integer inputRefIds: 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 type: array longMessage: description: A more detailed explanation of the error than given in the message error field. type: string message: 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. type: string outputRefIds: description: Identifies specific response elements associated with the error, if any. Path format is the same as inputRefId. items: type: string type: array parameters: 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" type: array subdomain: description: If present, indicates the subsystem in which the error occurred. type: string type: object ErrorParameter: description: A complex type that indicates a parameter that caused an error and the value of the parameter which caused the error. properties: name: description: Name of the parameter that caused the error. type: string value: description: The value of the parameter that caused the error. type: string type: object FulfillmentPolicy: description: This type is used by the fulfillmentPolicy response container, a container which defines a seller's fulfillment policy for a specific marketplace. properties: categoryTypes: description: This container indicates whether the fulfillment policy applies to motor vehicle listings, or if it applies to non-motor vehicle listings. items: $ref: "#/components/schemas/CategoryType" type: array description: description: "A seller-defined description of the fulfillment 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" type: string freightShipping: description: If returned as true, the seller offers freight shipping. Freight shipping can be used for large items over 150 lbs. type: boolean fulfillmentPolicyId: description: A unique eBay-assigned ID for the fulfillment policy. This ID is generated when the policy is created. type: string globalShipping: description: "If returned as true, eBay's Global Shipping Program will be used by the seller to ship items to international locations.

Note: On the US marketplace, the Global Shipping Program is scheduled to be replaced by a new intermediated international shipping program called eBay International Shipping. US sellers who are opted in to the Global Shipping Program will be automatically opted in to eBay International Shipping when it becomes available to them. All US sellers will be migrated by March 31, 2023.

eBay International Shipping is an account level setting, and no field needs to be set in a Fulfillment business policy to enable it. As long as the US seller's account is opted in to eBay International Shipping, this shipping option will be enabled automatically for all listings where international shipping is available.

A US seller who is opted in to eBay International Shipping can also specify individual international shipping service options for a Fulfillment business policy.
" type: boolean handlingTime: $ref: "#/components/schemas/TimeDuration" description: Specifies the maximum number of business days the seller commits to for preparing and shipping an order after receiving a cleared payment for the order. This time does not include the transit time it takes the shipping carrier to deliver the order.

If only local pickup or freight shipping is available for the item, this container may not get returned.

localPickup: description: If returned as true, local pickup is available for this policy. type: boolean marketplaceId: description: The ID of the eBay marketplace to which this fulfillment policy applies. For implementation help, refer to eBay API documentation type: string name: description: "A seller-defined name for this fulfillment policy. Names must be unique for policies assigned to the same marketplace.

Max length: 64" type: string pickupDropOff: description: If returned as true, the seller offers the "Click and Collect" option.

Currently, "Click and Collect" is available only to large retail merchants the eBay AU and UK marketplaces. type: boolean shipToLocations: $ref: "#/components/schemas/RegionSet" description: This container consists of the regionIncluded and regionExcluded containers, which define the geographical regions/countries/states or provinces/domestic regions where the seller does and doesn't ship to with this fulfillment policy. shippingOptions: description: This array is used to provide detailed information on the domestic and international shipping options available for the policy. A separate ShippingOption object covers domestic shipping service options and international shipping service options (if the seller ships to international locations).

The optionType field indicates whether the ShippingOption object applies to domestic or international shipping, and the costType field indicates whether flat-rate shipping or calculated shipping will be used.

A separate ShippingServices object is used to specify cost and other details for every available domestic and international shipping service option.

items: $ref: "#/components/schemas/ShippingOption" type: array type: object FulfillmentPolicyRequest: description: This root container defines a seller's fulfillment policy for a specific marketplace and category group. This type is used when creating or updating a fulfillment business policy. properties: categoryTypes: description: This container is used to specify whether the fulfillment business policy applies to motor vehicle listings, or if it applies to non-motor vehicle listings. items: $ref: "#/components/schemas/CategoryType" type: array description: description: "A seller-defined description of the fulfillment policy. This description is only for the seller's use, and is not exposed on any eBay pages.

Max length: 250" type: string freightShipping: description: "This field is included and set to true if freight shipping is available for the item. Freight shipping can be used for large items over 150 lbs.

Default: false" type: boolean globalShipping: description: "This field is included and set to true if the seller wants to use the Global Shipping Program for international shipments. See the Global Shipping Program help topic for more details and requirements on the Global Shipping Program.

It is possible for a seller to use a combination of the Global Shipping Program and other international shipping services.

If this value is set to false or if the field is omitted, the seller is responsible for manually specifying individual international shipping services (if the seller ships internationally)., as described in Setting up worldwide shipping.

Sellers can opt in or out of the Global Shipping Program through the Shipping preferences in My eBay.

Note: On the US marketplace, the Global Shipping Program is scheduled to be replaced by a new intermediated international shipping program called eBay International Shipping. US sellers who are opted in to the Global Shipping Program will be automatically opted in to eBay International Shipping when it becomes available to them. All US sellers will be migrated by March 31, 2023.

eBay International Shipping is an account level setting, and no field needs to be set in a Fulfillment business policy to enable it. As long as the US seller's account is opted in to eBay International Shipping, this shipping option will be enabled automatically for all listings where international shipping is available.

A US seller who is opted in to eBay International Shipping can also specify individual international shipping service options for a Fulfillment business policy.

Default: false

" type: boolean handlingTime: $ref: "#/components/schemas/TimeDuration" description: "This container is used to specify the maximum number of business days the seller commits to for preparing and shipping an order after receiving a cleared payment for the order. This time does not include the transit time it takes the shipping carrier to deliver the order.

Valid values can vary by site and by category. To obtain the supported values for a site, call GeteBayDetails in the Trading API with DetailName set to DispatchTimeMaxDetails, then inspect the DispatchTimeMaxDetails container in the response for the time values supported by the site (typical handling times are 0, 1, 2, 3, 4, 5, 10, 15, and 20, but these can vary by site and may change over time.)

This field is conditionally required when the seller is offering one or more domestic or international shipping options, but it is not applicable when the item is only available through local pickup (\"localPickup\": \"true\"), or if it will be shipped through a freight shipping service (\"freightShipping\": \"true\").

Note: Top-Rated sellers must offer same-day or one-day handling for a listing in order for that listing to receive a Top Rated Plus seal on the View Item or Search Results pages. To offer zero-day or one-day handling, set field to '0' or '1', respectively." localPickup: description: "This field should be included and set to true if local pickup is one of the fulfillment options available to the buyer. It is possible for the seller to make local pickup and some shipping service options available to the buyer.

With local pickup, the buyer and seller make arrangements for pickup time and location.

Default: false" type: boolean marketplaceId: description: The ID of the eBay marketplace to which this fulfillment policy applies. For implementation help, refer to eBay API documentation type: string name: description: "A seller-defined name for this fulfillment policy. Names must be unique for policies assigned to the same marketplace.

Max length: 64" type: string pickupDropOff: description: "This field should be included and set to true if the seller offers the \"Click and Collect\" feature for an item.

To enable \"Click and Collect\" on a listing, a seller must be eligible for Click and Collect. Currently, Click and Collect is available to only large retail merchants selling in the eBay AU and UK marketplaces.

In addition to setting this field to true, the merchant must also do the following to enable the \"Click and Collect\" option on a listing:

When a merchant successfully lists an item with Click and Collect, prospective buyers within a reasonable distance from one of the merchant's stores (that has stock available) will see the \"Available for Click and Collect\" option on the listing, along with information on the closest store that has the item.

Default: false" type: boolean shipToLocations: $ref: "#/components/schemas/RegionSet" description: This container consists of the regionIncluded and regionExcluded arrays, which are used to define the geographical regions/countries/states or provinces/domestic regions that a seller does and does not ship to for the associated fulfillment policy. Note that this container can be considered the master list of where the seller ships and does not ship, but there is also a shipToLocations container that can be set at the shipping service option level.

To retrieve the valid geographical shipping region values, two-digit country values, or special domestic regions for an eBay marketplace, call GeteBayDetails with DetailName value set to ExcludeShippingLocationDetails, then review the ExcludeShippingLocationDetails containers in the response for the strings you use in both the regionIncluded.regionName and in the regionExcluded.regionName fields.

For valid geographical region names, look for the ExcludeShippingLocationDetails containers in the GeteBayDetails response where the Region value is Worldwide, and the valid values will be shown in the corresponding Location fields.

For valid two-digit country codes, look for ExcludeShippingLocationDetails in the GeteBayDetails response where the Region value is one of the defined geographical regions, and the valid values will be shown in the corresponding Location fields. Alternatively, you can find the two-digit country code values in the CountryCodeEnum type definition. For valid domestic region values, look for ExcludeShippingLocationDetails in the GeteBayDetails response where the Region value is either Domestic Location or Additional Locations, and the valid values will be shown in the corresponding Location fields.

The STATE_OR_PROVINCE region type is only applicable to the US and Canada, and valid values for US states are the same two-digit abbreviations used by the United States Postal Service, and valid values for Canadian provinces and territories are the same two-digit abbreviations used by the Canada Post. shippingOptions: description: This array is used to provide detailed information on the domestic and international shipping options available for the policy.

A separate ShippingOption object is required for domestic shipping service options and for international shipping service options (if the seller ships to international locations).

A separate ShippingServices object will be used to specify cost and other details for every available domestic and international shipping service option.

items: $ref: "#/components/schemas/ShippingOption" type: array type: object FulfillmentPolicyResponse: description: 'The response payload for the getFulfillmentPolicies method.

Note: Pagination has not yet been enabled for getFulfillmentPolicies, so all of the pagination-related fields are for future use.' properties: fulfillmentPolicies: description: A list of all of the seller's fulfillment policies defined for the specified marketplace. This array will be returned as empty if no fulfillment policies are defined for the specified marketplace. items: $ref: "#/components/schemas/FulfillmentPolicy" type: array href: description: This field is for future use. type: string limit: description: This field is for future use. format: int32 type: integer next: description: This field is for future use. type: string offset: description: This field is for future use. format: int32 type: integer prev: description: This field is for future use. type: string total: description: The total number of fulfillment policies retrieved in the result set.

If no fulfillment policies are defined for the specified marketplace, this field is returned with a value of 0. format: int32 type: integer type: object InternationalReturnOverrideType: 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. " properties: returnMethod: 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 type: string returnPeriod: $ref: "#/components/schemas/TimeDuration" 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. returnShippingCostPayer: 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 type: string returnsAccepted: 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. type: boolean type: object KycCheck: description: This type is used to provide details about any KYC check that is applicable to the managed payments seller. properties: alert: description: This field gives a short summary of what is required from the seller. An example might be, 'Upload bank document now.'. The detailMessage field will often provide more details on what is required of the seller. type: string dataRequired: description: The enumeration value returned in this field categorizes the type of details needed for the KYC check. More information about the check is shown in the detailMessage and other applicable, corresponding fields. For implementation help, refer to eBay API documentation type: string detailMessage: description: This field gives a detailed message about what is required from the seller. An example might be, 'Please upload a bank document by 2020-08-01 to get your account back in good standing.'. type: string dueDate: description: 'The timestamp in this field indicates the date by which the seller should resolve the KYC requirement.

The timestamp in this field uses the UTC date and time format described in the ISO 8601 Standard. See below for this format and an example:

MM-DD-YYYY HH:MM:SS
06-05-2020 10:34:18' type: string remedyUrl: description: If applicable and available, a URL will be returned in this field, and the link will take the seller to an eBay page where they can provide the requested information. type: string type: object KycResponse: description: This is the base response type of the getKYC method. properties: kycChecks: description: This array contains one or more KYC checks required from a managed payments seller. The seller may need to provide more documentation and/or information about themselves, their company, or the bank account they are using for seller payouts.

If no KYC checks are currently required from the seller, this array is not returned, and the seller only receives a 204 No Content HTTP status code. items: $ref: "#/components/schemas/KycCheck" type: array type: object PaymentMethod: description: 'This type is used by the paymentMethods container, which is used by the seller to specify one or more offline payment methods.

Note: eBay now controls all electronic payment methods available for a marketplace, so a seller will no longer use this type to specify any electronic payment methods.' properties: brands: description: 'Note: This array is no longer applicable and should not be used. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods, including any credit card brands accepted. ' items: description: " For implementation help, refer to eBay API documentation" type: string type: array paymentMethodType: description: eBay now controls all electronic payment methods available for a marketplace, so only offline payment method enum values may be used in this field, and offline payment methods will only be applicable to listings that require or support offline payments. See the PaymentMethodTypeEnum type for supported offline payment method enum values.

For implementation help, refer to eBay API documentation type: string recipientAccountReference: $ref: "#/components/schemas/RecipientAccountReference" description: 'Note: This container is no longer applicable and should not be used. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods, including PayPal. ' type: object PaymentPolicy: description: This type is used by the paymentPolicy response container, a container which defines a seller's payment business policy for a specific marketplace. properties: categoryTypes: description: This container indicates whether the fulfillment policy applies to motor vehicle listings, or if it applies to non-motor vehicle listings. items: $ref: "#/components/schemas/CategoryType" type: array deposit: $ref: "#/components/schemas/Deposit" description: This container is applicable only if the categoryTypes.name field is set to MOTORS_VEHICLES, and is only returned if the seller requires an initial deposit on motor vehicles.

The container shows the amount due for the deposit and when it is due (within 1-3 days after commitment to purchase, unless the listing requires immediate payment).

Note: The due date that is specified in the deposit container will be overridden if the payment business policy requires immediate payment (in this case, for the deposit), and the buyer commits to purchasing the motor vehicle through a fixed-price listing or through the 'Buy it Now' option of an auction listing.

description: description: "A seller-defined description of the payment policy. This description is only for the seller's use, and is not exposed on any eBay pages.

Max length: 250" type: string fullPaymentDueIn: $ref: "#/components/schemas/TimeDuration" description: 'This container applies to motor vehicles listings only and indicates when a final payment for the vehicle is due. This value is always returned if categoryTypes is set to MOTORS_VEHICLES.

This container indicates the number of days that a buyer has to make their full payment to the seller and close the remaining balance on a motor vehicle transaction. The period starts when the buyer commits to buy. The valid values, as specified with TimeDuration, are:A MOTORS_VEHICLES) payment business policy must specify at least one of the following paymentMethods values for the final payment: ' immediatePay: description: "If this field is returned as true, immediate payment is required from the buyer for:
It is possible for the seller to set this field as true in the payment business policy, but it will not apply in some scenarios. For example, immediate payment is not applicable for auction listings that have a winning bidder, for buyer purchases that involve the Best Offer feature, or for transactions that happen offline between the buyer and seller." type: boolean marketplaceId: description: The ID of the eBay marketplace to which the payment business policy applies. For implementation help, refer to eBay API documentation type: string name: description: "A seller-defined name for this fulfillment policy. Names must be unique for policies assigned to the same marketplace.

Max length: 64" type: string paymentInstructions: description: "Although this field may be returned for some older payment business policies, payment instructions are no longer supported by payment business policies. If this field is returned, it can be ignored and these payment instructions will not appear in any listings that use the corresponding business policy.

Max length: 1000" type: string paymentMethods: description: "This container is returned to show the payment methods that are accepted for the payment business policy.

Sellers do not have to specify any electronic payment methods for listings, so this array will often be returned empty unless the payment business policy is intended for motor vehicle listings or other items in categories where offline payments are required or supported. " items: $ref: "#/components/schemas/PaymentMethod" type: array paymentPolicyId: description: A unique eBay-assigned ID for a payment business policy. This ID is generated when the policy is created. type: string type: object PaymentPolicyRequest: description: This root container defines a seller's payment business policy for a specific marketplace and category group. This type is used when creating or updating a payment business policy. properties: categoryTypes: description: This container is used to specify whether the payment business policy applies to motor vehicle listings, or if it applies to non-motor vehicle listings. items: $ref: "#/components/schemas/CategoryType" type: array deposit: $ref: "#/components/schemas/Deposit" description: "This container is used if the seller wants to require an initial deposit on a motor vehicle listing. In this container, the seller sets the deposit amount and the due date for the deposit.

Because eBay controls all electronic payment methods, sellers do not need to specify a payment method and the deposit.paymentMethods array is not needed.

Note: The 'due date' specified in the deposit container will be overridden if the payment business policy requires immediate payment (in this case, for the deposit), and the buyer commits to purchase the motor vehicle through a fixed-price listing or through the 'Buy it Now' option of an auction listing.

" description: description: "A seller-defined description of the payment business policy. This description is only for the seller's use, and is not exposed on any eBay pages.

Max length: 250" type: string fullPaymentDueIn: $ref: "#/components/schemas/TimeDuration" description: "This container is used to specify the number of days that a buyer has to make their full payment to the seller and close the remaining balance on a motor vehicle transaction. This container must be specified for motor vehicles listings.

The period starts when the buyer commits to buy. The valid values, as specified with TimeDuration, are:In order for a buyer to make a full payment on a motor vehicle, at least one of the following paymentMethods values must be specified for the corresponding payment business policy: Default: 7 DAYS" immediatePay: description: "This field should be included and set to true if the seller wants to require immediate payment from the buyer for:
Default: False" type: boolean marketplaceId: description: The ID of the eBay marketplace to which this payment business policy applies. For implementation help, refer to eBay API documentation type: string name: description: A seller-defined name for this payment business policy. Names must be unique for policies assigned to the same marketplace.

Max length: 64 type: string paymentInstructions: description:

Note: DO NOT USE THIS FIELD. Payment instructions are no longer supported by payment business policies.

A free-form string field that allows sellers to add detailed payment instructions to their listings. type: string paymentMethods: description:

Note: This field applies only when the seller needs to specify one or more offline payment methods. eBay now manages the electronic payment options available to buyers to pay for the item.

This array is used to specify one or more offline payment methods that will be accepted for payment that occurs off of eBay's platform. items: $ref: "#/components/schemas/PaymentMethod" type: array type: object PaymentPolicyResponse: description: 'The response payload for the getPaymentPolicies method.

Note: Pagination has not yet been enabled for getPaymentPolicies, so all of the pagination-related fields are for future use.' properties: href: description: This field is for future use. type: string limit: description: This field is for future use. format: int32 type: integer next: description: This field is for future use. type: string offset: description: This field is for future use. format: int32 type: integer paymentPolicies: description: A list of all of the seller's payment business policies defined for the specified marketplace. This array will be returned as empty if no payment business policies are defined for the specified marketplace. items: $ref: "#/components/schemas/PaymentPolicy" type: array prev: description: This field is for future use. type: string total: description: The total number of payment business policies retrieved in the result set.

If no payment business policies are defined for the specified marketplace, this field is returned with a value of 0. format: int32 type: integer type: object PaymentsProgramOnboardingResponse: description: Type used by the payments program onboarding response properties: onboardingStatus: description: This enumeration value indicates the eligibility of payment onboarding for the registered site. For implementation help, refer to eBay API documentation type: string steps: description: "An array of the active process steps for payment onboarding and the status of each step. This array includes the step name, step status, and a webUrl to the IN_PROGRESS step. The step names are returned in sequential order. " items: $ref: "#/components/schemas/PaymentsProgramOnboardingSteps" type: array type: object PaymentsProgramOnboardingSteps: description: The payments program onboarding steps, status, and link. properties: name: description: "The name of the step in the steps array. Over time, these names are subject to change as processes change. The output sample contains example step names. Review an actual call response for updated step names. " type: string status: description: This enumeration value indicates the status of the associated step.

Note: Only one step can be IN_PROGRESS at a time.

For implementation help, refer to eBay API documentation type: string webUrl: description: This URL provides access to the IN_PROGRESS step. type: string type: object PaymentsProgramResponse: description: The response object containing the sellers status with regards to the specified payment program. properties: marketplaceId: description: The ID of the eBay marketplace to which the payment program applies. For implementation help, refer to eBay API documentation type: string paymentsProgramType: description: This parameter specifies the payment program whose status is returned by the call.

Currently the only supported payments program is EBAY_PAYMENTS. For implementation help, refer to eBay API documentation type: string status: description: The enumeration value returned in this field indicates whether or not the seller's account is enabled for the payments program. For implementation help, refer to eBay API documentation type: string wasPreviouslyOptedIn: description: If returned as true, the seller was at one point opted-in to the associated payment program, but they later opted out of the program. A value of false indicates the seller never opted-in to the program or if they did opt-in to the program, they never opted-out of it.

It's important to note that the setting of this field does not indicate the seller's current status regarding the payment program. It is possible for this field to return true while the status field returns OPTED_IN. type: boolean type: object Program: description: A seller program in to which a seller can opt-in. properties: programType: description: A seller program in to which a seller can opt-in. For implementation help, refer to eBay API documentation type: string type: object Programs: description: The base response type of the getOptedInPrograms method. properties: programs: description: An array of seller programs that the seller's account is opted in to. items: $ref: "#/components/schemas/Program" type: array type: object RateTable: description: This type is used to provide details about each shipping rate table that is returned in the getRateTables response. properties: countryCode: description: A two-letter ISO 3166 country code representing the eBay marketplace where the shipping rate table is defined. For implementation help, refer to eBay API documentation type: string locality: description: This enumeration value returned here indicates whether the shipping rate table is a domestic or international shipping rate table. For implementation help, refer to eBay API documentation type: string name: description: The seller-defined name for the shipping rate table. type: string rateTableId: description: A unique eBay-assigned ID for a seller's shipping rate table. These rateTableId values are used to associate shipping rate tables to fulfillment business policies or directly to listings through an add/revise/relist call in the Trading API. type: string type: object RateTableResponse: description: This type is the base response of the getRateTables method. properties: rateTables: description: An array of all shipping rate tables defined for a marketplace (or all marketplaces if no country_code query parameter is used). This array will be returned as empty if the seller has no defined shipping rate tables for the specified marketplace. items: $ref: "#/components/schemas/RateTable" type: array type: object RecipientAccountReference: description: 'Note: This type is no longer applicable. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods.' properties: referenceId: description: 'Note: DO NOT USE THIS FIELD. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods.' type: string referenceType: description: "Note: DO NOT USE THIS FIELD. eBay now controls all electronic payment methods available for a marketplace, and a seller never has to specify any electronic payment methods. For implementation help, refer to eBay API documentation" type: string type: object Region: description: This type is used to define specific shipping regions. There are four 'levels' of shipping regions, including large geographical regions (like 'Asia', 'Europe', or 'Middle East'), individual countries, US states or Canadian provinces, and special locations/domestic regions within a country (like 'Alaska/Hawaii' or 'PO Box'). properties: regionName: description: A string that indicates the name of a region, as defined by eBay. A "region" can be either a 'world region' (e.g., the "Middle East" or "Southeast Asia"), a country (represented with a two-letter country code), a state or province (represented with a two-letter code), or a special domestic region within a country.

The GeteBayDetails call in the Trading API can be used to retrieve the world regions and special domestic regions within a specific country. To get these enumeration values, call GeteBayDetails with the DetailName value set to ExcludeShippingLocationDetails. type: string regionType: description: "Reserved for future use. For implementation help, refer to eBay API documentation" type: string type: object RegionSet: description: This type consists of the regionIncluded and regionExcluded arrays, which indicate the areas to where the seller does and doesn't ship. properties: regionExcluded: description: 'An array of one or more regionName values that specify the areas to where a seller does not ship. A regionExcluded list should only be set in the top-level shipToLocations container and not within the shippingServices.shipToLocations container used to specify which shipping regions are serviced by each available shipping service option.

Many sellers are willing to ship to many international locations, but they may want to exclude some world regions or some countries as places they are willing to ship to.

This array will be returned as empty if no shipping regions are excluded with the fulfillment business policy.

Note: The regionExcluded array is not applicable for motor vehicle business policies on the US, CA, or UK marketplaces. If this array is used in a createFulfillmentPolicy or updateFulfillmentPolicy request, it will be ignored.' items: $ref: "#/components/schemas/Region" type: array regionIncluded: description: 'An array of one or more regionName fields that specify the areas to where a seller ships.
Each eBay marketplace supports its own set of allowable shipping locations.

Note: The regionIncluded array is not applicable for motor vehicle business policies on the US, CA, or UK marketplaces. If this array is used in a createFulfillmentPolicy or updateFulfillmentPolicy request, it will be ignored.' items: $ref: "#/components/schemas/Region" type: array type: object ReturnPolicy: description: This type is used by the returnPolicy response container, a container which defines a seller's return business policy for a specific marketplace. properties: categoryTypes: 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" type: array description: 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" type: string extendedHolidayReturnsOffered: 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.

' type: boolean internationalOverride: $ref: "#/components/schemas/InternationalReturnOverrideType" 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. marketplaceId: description: The ID of the eBay marketplace to which this return business policy applies. For implementation help, refer to eBay API documentation type: string name: description: A seller-defined name for this payment business policy. Names must be unique for policies assigned to the same marketplace.

Max length: 64 type: string refundMethod: 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 type: string restockingFeePercentage: 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.

' type: string returnInstructions: 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)' type: string returnMethod: 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 type: string returnPeriod: $ref: "#/components/schemas/TimeDuration" 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)." returnPolicyId: description: A unique eBay-assigned ID for a return business policy. This ID is generated when the policy is created. type: string returnShippingCostPayer: 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 type: string returnsAccepted: 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. type: boolean type: object ReturnPolicyRequest: 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. properties: categoryTypes: 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" type: array description: 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" type: string extendedHolidayReturnsOffered: 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.

' type: boolean internationalOverride: $ref: "#/components/schemas/InternationalReturnOverrideType" 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. marketplaceId: description: The ID of the eBay marketplace to which this return business policy applies. For implementation help, refer to eBay API documentation type: string name: description: "A seller-defined name for this return business policy. Names must be unique for policies assigned to the same marketplace.

Max length: 64" type: string refundMethod: 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" type: string restockingFeePercentage: 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.

' type: string returnInstructions: 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)' type: string returnMethod: 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 type: string returnPeriod: $ref: "#/components/schemas/TimeDuration" 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. returnShippingCostPayer: 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 type: string returnsAccepted: 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.

type: boolean type: object ReturnPolicyResponse: 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.' properties: href: description: This field is for future use. type: string limit: description: This field is for future use. format: int32 type: integer next: description: This field is for future use. type: string offset: description: This field is for future use. format: int32 type: integer prev: description: This field is for future use. type: string returnPolicies: 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" type: array total: 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 type: integer type: object SalesTax: description: This type is used to provide sales tax settings for a specific tax jurisdiction. properties: countryCode: description: The country code enumeration value identifies the country to which this sales tax rate applies. For implementation help, refer to eBay API documentation type: string salesTaxJurisdictionId: description: A unique ID that identifies the sales tax jurisdiction to which the sales tax rate applies (for example, a state within the United States). type: string salesTaxPercentage: description: The sales tax rate that will be applied to sales price. The shippingAndHandlingTaxed value will indicate whether or not sales tax is also applied to shipping and handling charges

Although it is a string, a percentage value is returned here, such as 7.75 type: string shippingAndHandlingTaxed: description: If returned as true, sales tax is also applied to shipping and handling charges, and not just the total sales price of the order. type: boolean type: object SalesTaxBase: description: "This type is used by the base request of the createOrReplaceSalesTax. " properties: salesTaxPercentage: description: This field is used to set the sales tax rate for the tax jurisdiction set in the call URI. When applicable to an order, this sales tax rate will be applied to sales price. The shippingAndHandlingTaxed value will indicate whether or not sales tax is also applied to shipping and handling charges

Although it is a string, a percentage value is set here, such as 7.75. type: string shippingAndHandlingTaxed: description: This field is set to true if the seller wishes to apply sales tax to shipping and handling charges, and not just the total sales price of the order. Otherwise, this field's value should be set to false. type: boolean type: object SalesTaxes: description: This type is used by the root response of the getSalesTaxes method. properties: salesTaxes: description: An array of one or more sales tax rate entries for a specific marketplace (or all applicable marketplaces if the country_code query parameter is not used.

If no sales tax rate entries are set up, no response payload is returned, but only an HTTP status code of 204 No Content. items: $ref: "#/components/schemas/SalesTax" type: array type: object SellerEligibilityMultiProgramResponse: description: The base response of the getAdvertisingEligibility method that contains the seller eligibility information for one or more advertising programs. properties: advertisingEligibility: description: An array of response fields that define the seller eligibility for eBay adverstising programs. items: $ref: "#/components/schemas/SellerEligibilityResponse" type: array type: object SellerEligibilityResponse: description: A type that is used to provide the seller's eligibility status for an eBay advertising program. properties: programType: description: The eBay advertising program for which a seller may be eligible. For implementation help, refer to eBay API documentation type: string reason: description: The reason why a seller is ineligible for the specified eBay advertising program.

This field is only returned if the seller is ineligible for the eBay advertising program. For implementation help, refer to eBay API documentation type: string status: description: The seller elibibilty status for the specified eBay advertising program. For implementation help, refer to eBay API documentation type: string type: object SellingLimit: description: Type used by the sellingLimit container, a container that lists the monthly cap for the quantity of items sold and total sales amount allowed for the seller's account. properties: amount: $ref: "#/components/schemas/Amount" description: This container shows the monthly cap for total sales amount allowed for the seller's account. This container may not be returned if a seller does not have a monthly cap for total sales amount. quantity: description: This field shows the monthly cap for total quantity sold allowed for the seller's account. This container may not be returned if a seller does not have a monthly cap for total quantity sold. format: int32 type: integer type: object SellingPrivileges: description: This type is used by the base response of the getPrivileges method. properties: sellerRegistrationCompleted: description: If this field is returned as true, the seller's registration is completed. If this field is returned as false, the registration process is not complete. type: boolean sellingLimit: $ref: "#/components/schemas/SellingLimit" description: This container lists the monthly cap for the quantity of items sold and total sales amount allowed for the seller's account. This container may not be returned if a seller does not have a monthly cap for total quantity sold and total sales amount. type: object SetFulfillmentPolicyResponse: description: Complex type that that gets populated with a response containing a fulfillment policy. properties: categoryTypes: description: This container indicates whether the fulfillment business policy applies to motor vehicle listings, or if it applies to non-motor vehicle listings. items: $ref: "#/components/schemas/CategoryType" type: array description: description: "A seller-defined description of the fulfillment 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" type: string freightShipping: description: If returned as true, the seller offers freight shipping. Freight shipping can be used for large items over 150 lbs. type: boolean fulfillmentPolicyId: description: A unique eBay-assigned ID for a fulfillment business policy. This ID is generated when the policy is created. type: string globalShipping: description: "If returned as true, the eBay Global Shipping Program will be used by the seller to ship items to international locations.

Note: On the US marketplace, the Global Shipping Program is scheduled to be replaced by a new intermediated international shipping program called eBay International Shipping. US sellers who are opted in to the Global Shipping Program will be automatically opted in to eBay International Shipping when it becomes available to them. All US sellers will be migrated by March 31, 2023.

eBay International Shipping is an account level setting, and no field needs to be set in a Fulfillment business policy to enable it. As long as the US seller's account is opted in to eBay International Shipping, this shipping option will be enabled automatically for all listings where international shipping is available.

A US seller who is opted in to eBay International Shipping can also specify individual international shipping service options for a Fulfillment business policy.
" type: boolean handlingTime: $ref: "#/components/schemas/TimeDuration" description: Specifies the maximum number of business days the seller commits to for preparing and shipping an order after receiving a cleared payment for the order. This time does not include the transit time it takes the shipping carrier to deliver the order.

If only local pickup or freight shipping is available for the item, this container may not get returned.

localPickup: description: If returned as true, local pickup is available for this policy. type: boolean marketplaceId: description: The ID of the eBay marketplace to which this fulfillment business policy applies. For implementation help, refer to eBay API documentation type: string name: description: "A seller-defined name for this fulfillment business policy. Names must be unique for policies assigned to the same marketplace.

Max length: 64" type: string pickupDropOff: description: If returned as true, the seller offers the "Click and Collect" option.

Currently, "Click and Collect" is available only to large retail merchants the eBay AU and UK marketplaces. type: boolean shipToLocations: $ref: "#/components/schemas/RegionSet" description: This container consists of the regionIncluded and regionExcluded containers, which define the geographical regions/countries/states or provinces/domestic regions where the seller does and doesn't ship to with this fulfillment policy. shippingOptions: description: This array is used to provide detailed information on the domestic and international shipping options available for the policy. A separate ShippingOption object covers domestic shipping service options and international shipping service options (if the seller ships to international locations).

The optionType field indicates whether the ShippingOption object applies to domestic or international shipping, and the costType field indicates whether flat-rate shipping or calculated shipping will be used.

A separate ShippingServices object is used to specify cost and other details for every available domestic and international shipping service option.

items: $ref: "#/components/schemas/ShippingOption" type: array warnings: 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" type: array type: object SetPaymentPolicyResponse: description: Complex type that that gets populated with a response containing a payment policy. properties: categoryTypes: description: This container indicates whether the payment business policy applies to motor vehicle listings, or if it applies to non-motor vehicle listings. items: $ref: "#/components/schemas/CategoryType" type: array deposit: $ref: "#/components/schemas/Deposit" description: This container is only returned if the seller just created or updated a motor vehicles payment business policy and requires buyers to pay an initial deposit after they commit to buying a motor vehicle. description: description: "A seller-defined description of the payment 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" type: string fullPaymentDueIn: $ref: "#/components/schemas/TimeDuration" description: 'The number of days (after the buyer commits to buy) that a buyer has to pay the remaining balance of a motor vehicle transaction. Sellers can set this value to 3, 7, 10, or 14 days.

Note: This value is always returned if categoryTypes is set to MOTORS_VEHICLES.

' immediatePay: description: "The value returned in this field will reflect the value set by the seller in the immediatePay request field. A value of true indicates that immediate payment is required from the buyer for:
It is possible for the seller to set this field as true in the payment business policy, but it will not apply in some scenarios. For example, immediate payment is not applicable for auction listings that have a winning bidder, for buyer purchases that involve the Best Offer feature, or for transactions that happen offline between the buyer and seller." type: boolean marketplaceId: description: The ID of the eBay marketplace to which this payment business policy applies. For implementation help, refer to eBay API documentation type: string name: description: A seller-defined name for this payment business policy. Names must be unique for policies assigned to the same marketplace.

Max length: 64 type: string paymentInstructions: description:

Note: NO LONGER SUPPORTED. Although this field may be returned for some older payment business policies, payment instructions are no longer supported by payment business policies. If this field is returned, it can be ignored and these payment instructions will not appear in any listings that use the corresponding business policy.

A free-form string field that allows sellers to add detailed payment instructions to their listings. type: string paymentMethods: description: This array shows the available payment methods that the seller has set for the payment business policy.

Sellers do not have to specify any electronic payment methods for listings, so this array will often be returned empty unless the payment business policy is intended for motor vehicle listings or other items in categories where offline payments are required or supported. items: $ref: "#/components/schemas/PaymentMethod" type: array paymentPolicyId: description: A unique eBay-assigned ID for a payment business policy. This ID is generated when the policy is created. type: string warnings: 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" type: array type: object SetReturnPolicyResponse: description: A complex type that is populated with a response containing a return policies. properties: categoryTypes: 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" type: array description: 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" type: string extendedHolidayReturnsOffered: description: '

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

' type: boolean internationalOverride: $ref: "#/components/schemas/InternationalReturnOverrideType" 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. marketplaceId: description: The ID of the eBay marketplace to which this return business policy applies. For implementation help, refer to eBay API documentation type: string name: description: A seller-defined name for this return business policy. Names must be unique for policies assigned to the same marketplace.

Max length: 64 type: string refundMethod: 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 type: string restockingFeePercentage: description: '

Important! This field is deprecated, since eBay no longer allows sellers to charge a restocking fee for buyer remorse returns.

' type: string returnInstructions: 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)' type: string returnMethod: 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 type: string returnPeriod: $ref: "#/components/schemas/TimeDuration" 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. returnPolicyId: description: A unique eBay-assigned ID for a return business policy. This ID is generated when the policy is created. type: string returnShippingCostPayer: 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 type: string returnsAccepted: description: If set to true, the seller accepts returns. If set to false, this field indicates that the seller does not accept returns. type: boolean warnings: 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" type: array type: object ShippingOption: description: This type is used by the shippingOptions array, which is used to provide detailed information on the domestic and international shipping options available for the policy. A separate ShippingOption object covers domestic shipping service options and international shipping service options (if the seller ships to international locations). properties: costType: description: This field defines whether the shipping cost model is FLAT_RATE (the same rate for all buyers, or buyers within a region if shipping rate tables are used) or CALCULATED (the shipping rate varies by the ship-to location and size and weight of the package).

This field is conditionally required if any shipping service options are specified (domestic and/or international). For implementation help, refer to eBay API documentation type: string insuranceFee: $ref: "#/components/schemas/Amount" description: This field has been deprecated.

Shipping insurance is offered only via a shipping carrier's shipping services and is no longer available via eBay shipping policies. insuranceOffered: description: This field has been deprecated.

Shipping insurance is offered only via a shipping carrier's shipping services and is no longer available via eBay shipping policies. type: boolean optionType: description: This field is used to indicate if the corresponding shipping service options (under shippingServices array) are domestic or international shipping service options. This field is conditionally required if any shipping service options are specified (domestic and/or international). For implementation help, refer to eBay API documentation type: string packageHandlingCost: $ref: "#/components/schemas/Amount" description: This container is used if the seller adds handling charges to domestic and/or international shipments.

Sellers can not specify any domestic handling charges if they offered 'free shipping' in the policy.

This container will only be returned if set for the policy. rateTableId: description: This field is used if the seller wants to associate a domestic or international shipping rate table to the fulfillment business policy. The getRateTables method can be used to retrieve shipping rate table IDs.

With domestic and international shipping rate tables, the seller can set different shipping costs based on shipping regions and shipping speed/level of service (one-day, expedited, standard, economy). There are also options to additional per-weight and handling charges.

Sellers need to be careful that shipping rate tables match the corresponding shipping service options. In other words, a domestic shipping rate table must not be specified in the same container where international shipping service options are being specified, and vice versa, and the shipping speed/level of service of the provided shipping service options should match the shipping speed/level of service options that are defined in the shipping rate tables.

For example, if the corresponding shipping rate table defines costs for one-day shipping services, there should be at least one one-day shipping service option specified under the shippingServices array.

This field is returned if set. type: string shippingDiscountProfileId: description: "This field is the unique identifier of a seller's domestic or international shipping discount profile. If a buyer satisfies the requirements of the discount rule, this buyer will receive a shipping discount for the order.

The seller can create and manage shipping discount profiles using (Get/Set) ShippingDiscountProfiles calls in the Trading API or through the Shipping Preferences in My eBay.

Note: Initially, shipping discount profiles in the Account API will not be available to all sellers." type: string shippingPromotionOffered: description: 'This boolean indicates whether or not the seller has set up a promotional shipping discount that will be available to buyers who satisfy the requirements of the shipping discount rule.

The seller can create and manage shipping promotional discounts using (Get/Set) ShippingDiscountProfiles calls in the Trading API or through the Shipping Preferences in My eBay.

Note: Initially, shipping discount profiles in the Account API will not be available to all sellers.' type: boolean shippingServices: description: This array consists of the domestic or international shipping services options that are defined for the policy. The shipping service options defined under this array should match what is set in the corresponding shippingOptions.optionType field (which controls whether domestic or international shipping service options are being defined). If a shipping rate table is being used, the specified shipping service options should also match the shipping rate table settings (domestic or international, shipping speed/level of service, etc.)

Sellers can specify up to four domestic shipping services and up to five international shipping service options by using separate shippingService containers for each. If the seller is using the Global Shipping Program as an international option, only a total of four international shipping service options (including GSP) can be offered.

See How to set up shipping carrier and shipping service values.

To use the eBay standard envelope service (eSE), see Using eBay standard envelope (eSE) service.

This array is conditionally required if the seller is offering one or more domestic and/or international shipping service options. items: $ref: "#/components/schemas/ShippingService" type: array type: object ShippingService: description: This type is used by the shippingServices array, an array that provides details about every domestic and international shipping service option that is defined for the policy. properties: additionalShippingCost: $ref: "#/components/schemas/Amount" description: This container is used by the seller to cover the use case when a single buyer purchases multiple quantities of the same line item. This cost cannot exceed the corresponding shippingCost value. A seller will generally set this field when he/she wants to pass on a shipping discount to the buyer if that buyer purchases multiple quantities of a line item.

The seller can ship multiple quantities of the line item in the same package and pass on the shipping savings to the buyer.

If this field is not set, and a buyer purchases multiple quantities of an item, the seller can technically charge the same cost set in the shippingCost container for each individual item, but in general, it behooves both the seller and the buyer (and saves both parties money) if they discuss combined shipping.

This field is not applicable to auction listings or single-quantity, fixed-price listings.

This container is returned if set. buyerResponsibleForPickup: description: "This field should be included and set to true for a motor vehicle listing if it will be the buyer's responsibility to pick up the purchased motor vehicle after full payment is made.

This field is only applicable to motor vehicle listings. In the majority of motor vehicle listings, the seller does make the buyer responsible for pickup or shipment of the vehicle.

This field is returned if set.

Default: false" type: boolean buyerResponsibleForShipping: description: "This field should be included and set to true for a motor vehicle listing if it will be the buyer's responsibility to arrange for shipment of a purchased motor vehicle after full payment is made.

This field is only applicable to motor vehicle listings. In the majority of motor vehicle listings, the seller does make the buyer responsible for pickup or shipment of the vehicle.

This field is returned if set.

Default: false" type: boolean cashOnDeliveryFee: $ref: "#/components/schemas/Amount" description: This container is used if the seller charges a Cash on Delivery (COD) fee. This container is returned if set. freeShipping: description: This field is included and set to true if the seller offers a free shipping option to the buyer.

This field can only be included and set to true for the first domestic shipping service option specified in the shippingServices container (it is ignored if set for subsequent shipping services or for any international shipping service option).

The first specified shipping service option has a sortOrder value of 1 or if the sortOrderId field is not used, it is the shipping service option that's specified first in the shippingServices container.

This container is returned if set. type: boolean shipToLocations: $ref: "#/components/schemas/RegionSet" description: This container is used to set the ship-to locations applicable to the corresponding shipping service option. Although the regionExcluded container is defined for RegionSet type and could technically be used here, it is recommened that only the regionIncluded container be used at the shipping service level. The excluded shipping regions (if any) can instead be set up in the top-level regionExcluded container.

The regionIncluded and regionExcluded containers define the geographical regions/countries/states or provinces/domestic regions where the seller does and doesn't ship to with this fulfillment policy.

To retrieve the valid geographical shipping region values, two-digit country values, or special domestic regions for an eBay marketplace, call GeteBayDetails with DetailName value set to ExcludeShippingLocationDetails, then review the ExcludeShippingLocationDetails containers in the response for the strings you use in the regionIncluded.regionName field. The STATE_OR_PROVINCE region type is only applicable to the US and Canada, and valid values for US states are the same two-digit abbreviations used by the United States Postal Service, and valid values for Canadian provinces and territories are the same two-digit abbreviations used by the Canada Post. shippingCarrierCode: description: This field sets/indicates the shipping carrier, such as USPS, FedEx, or UPS. Although this field uses the string type, the seller must pass in a pre-defined enumeration value here.

For a full list of shipping carrier enum values for a specified eBay marketplace, the GeteBayDetails call of the Trading API can be used, and the DetailName field's value should be set to ShippingCarrierDetails. The enum values for each shipping carriers can be found in each ShippingCarrierDetails.ShippingCarrier field in the response payload.

This field is actually optional, as the shipping carrier is also tied into the shippingServiceCode enum value, and that field is required for every specified shipping service option.

This field is returned if set. type: string shippingCost: $ref: "#/components/schemas/Amount" description: This container is used to set the shipping cost to ship one item using the corresponding shipping service option. This container is conditionally required if the seller is using flat-rate shipping and is not using a domestic or international shipping rate table.

This container is not necessary for calculated shipping, since eBay will calculate the shipping cost and display it in the View Item page based off of the potential buyer's ship-to location.

This value is automatically set to 0.0 for the first specified domestic shipping service option and if the corresponding freeShipping field is set to true.

This container is returned if set for the policy. shippingServiceCode: description: This field sets/indicates the domestic or international shipping service option, such as USPSPriority, FedEx2Day, or UPS3rdDay. Although this field uses the string type, the seller must pass in a pre-defined enumeration value here.

For a full list of shipping service option enum values for a specified eBay marketplace, the GeteBayDetails call of the Trading API can be used, and the DetailName field's value should be set to ShippingServiceDetails.

The enum values for each shipping service option can be found in each ShippingServiceDetails.ShippingService field in the response payload. The seller must make sure that the shipping service option is still valid, which is indicated by a true value in the corresponding ValidForSellingFlow boolean field. International shipping service options are typically returned at the top of the response payload, and are indicated by an InternationalService boolean field that reads true.

The InternationalService boolean field is not returned at all for domestic shipping service options.

This field is required for every specified shipping service option.

This field is returned if set. type: string sortOrder: description: "The integer value set in this field controls the order of the corresponding domestic or international shipping service option in the View Item and Checkout pages.

Sellers can specify up to four domestic shipping services (in four separate shippingService containers), so valid values are 1, 2, 3, and 4. A shipping service option with a sortOrder value of 1 appears at the top of View Item and Checkout pages. Conversely, a shipping service option with a sortOrder value of 1 appears at the bottom of the list.

Sellers can specify up to five international shipping services (in five separate shippingService containers), so valid values for international shipping services are 1, 2, 3, 4, and 5. Similarly to domestic shipping service options, the sortOrder value of a international shipping service option controls the placement of that shipping service option in the View Item and Checkout pages.

If the sortOrder field is not supplied, the order of domestic and international shipping service options is determined by the order in which they are listed in the API call.

Min: 1. Max: 4 (for domestic shipping service) or 5 (for international shipping service)." format: int32 type: integer surcharge: $ref: "#/components/schemas/Amount" description: Note: DO NOT USE THIS FIELD. Shipping surcharges for domestic shipping service options can no longer be set with fulfillment business policies, except through shipping rate tables.

To do this, a seller would set up a surcharge-based shipping rate table and specify the surcharge in that table. Then, the seller would need to associate this shipping rate table to the fulfillment business policy by specifying the unique ID of the shipping rate table through the shippingOptions.rateTableId field.
Shipping surcharges cannot be applied at all to international shipping service options. type: object Subscription: description: This type is used by the getSubscription response container, which defines the subscription types and levels for the seller account. properties: marketplaceId: description: The marketplace with which the subscription is associated. For implementation help, refer to eBay API documentation type: string subscriptionId: description: The subscription ID. type: string subscriptionLevel: description: The subscription level. For example, subscription levels for an eBay store include Starter, Basic, Featured, Anchor, and Enterprise levels. type: string subscriptionType: description: The kind of entity with which the subscription is associated, such as an eBay store. For implementation help, refer to eBay API documentation type: string term: $ref: "#/components/schemas/TimeDuration" description: The term of the subscription plan (typically in months). type: object SubscriptionResponse: description: 'This type is used by the response payload for the getSubscription method.

Note: Pagination has not yet been enabled for getSubscription, so all of the pagination-related fields are for future use.' properties: href: description: This field is for future use. type: string limit: description: This field is for future use. format: int32 type: integer next: description: This field is for future use. type: string subscriptions: description: An array of subscriptions associated with the seller account. items: $ref: "#/components/schemas/Subscription" type: array total: description: The total number of subscriptions displayed on the current page of results. format: int32 type: integer type: object TimeDuration: 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. properties: unit: 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 type: string value: description: An integer that represents an amount of time, as measured by the time-measurement unit specified in the unit field. format: int32 type: integer type: object securitySchemes: api_auth: description: The security definitions for this API. Please check individual operations for applicable scopes. flows: authorizationCode: authorizationUrl: https://auth.ebay.com/oauth2/authorize scopes: https://api.ebay.com/oauth/api_scope/sell.account: View and manage your account settings https://api.ebay.com/oauth/api_scope/sell.account.readonly: View your account settings tokenUrl: https://api.ebay.com/identity/v1/oauth2/token type: oauth2