Download OpenAPI specification:Download
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.
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:
For details on header values, see HTTP request headers.
| policy_types | string This query parameter specifies the type of custom policies to be returned.
|
| X-EBAY-C-MARKETPLACE-ID required | string This header parameter specifies the eBay markeplace for the custom policy that is being created. Supported values for this header can be found in the MarketplaceIdEnum type definition. |
{- "customPolicies": [
- {
- "customPolicyId": "string",
- "label": "string",
- "name": "string",
- "policyType": "string"
}
], - "href": "string",
- "limit": 0,
- "next": "string",
- "offset": 0,
- "prev": "string",
- "total": 0
}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:
| X-EBAY-C-MARKETPLACE-ID required | string This header parameter specifies the eBay markeplace for the custom policy that is being created. Supported values for this header can be found in the MarketplaceIdEnum type definition. |
Request to create a new Custom Policy.
| description | string Details of the seller's specific policy and terms for this policy. |
| label | string 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. |
| name | string The seller-defined name for the custom policy. Names must be unique for policies assigned to the same seller, policy type, and eBay marketplace. |
| policyType | string Specifies the type of custom policy being created.
|
{- "description": "string",
- "label": "string",
- "name": "string",
- "policyType": "string"
}{ }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:
For details on header values, see HTTP request headers.
| custom_policy_id required | string This path parameter is the unique custom policy identifier for the policy to be returned. |
| X-EBAY-C-MARKETPLACE-ID required | string This header parameter specifies the eBay markeplace for the custom policy that is being created. Supported values for this header can be found in the MarketplaceIdEnum type definition. |
{- "customPolicyId": "string",
- "description": "string",
- "label": "string",
- "name": "string",
- "policyType": "string"
}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:
For details on header values, see HTTP request headers.
| custom_policy_id required | string This path parameter is the unique custom policy identifier for the policy to be returned. |
| X-EBAY-C-MARKETPLACE-ID required | string This header parameter specifies the eBay markeplace for the custom policy that is being created. Supported values for this header can be found in the MarketplaceIdEnum type definition. |
Request to update a current custom policy.
| description | string Details of the seller's specific policy and terms for this policy. |
| label | string 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. |
| name | string The seller-defined name for the custom policy. Names must be unique for policies assigned to the same seller, policy type, and eBay marketplace. |
{- "description": "string",
- "label": "string",
- "name": "string"
}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.
Request to create a seller account fulfillment policy.
Array of objects (CategoryType) 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. | |
| description | string 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. |
| freightShipping | boolean This field is included and set to |
| globalShipping | boolean This field is included and set to Default: false |
object (TimeDuration) 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. | |
| localPickup | boolean This field should be included and set to |
| marketplaceId | string The ID of the eBay marketplace to which this fulfillment policy applies. For implementation help, refer to eBay API documentation |
| name | string A seller-defined name for this fulfillment policy. Names must be unique for policies assigned to the same marketplace. |
| pickupDropOff | boolean This field should be included and set to 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
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 |
Array of objects (ShippingOption) 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). The optionType field is used to indicate whether the ShippingOption object applies to domestic or international shipping, and the costType field is used to indicate whether flat-rate shipping or calculated shipping will be used. The rateTableId field can be used to associate a defined shipping rate table to the policy, and the packageHandlingCost container can be used to set a handling charge for the policy. A separate ShippingServices object will be used to specify cost and other details for every available domestic and international shipping service option. | |
object (RegionSet) This type consists of the regionIncluded and regionExcluded arrays, which indicate the areas to where the seller does and doesn't ship. |
{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "freightShipping": true,
- "globalShipping": true,
- "handlingTime": {
- "unit": "string",
- "value": 0
}, - "localPickup": true,
- "marketplaceId": "string",
- "name": "string",
- "pickupDropOff": true,
- "shippingOptions": [
- {
- "costType": "string",
- "insuranceFee": {
- "currency": "string",
- "value": "string"
}, - "insuranceOffered": true,
- "optionType": "string",
- "packageHandlingCost": {
- "currency": "string",
- "value": "string"
}, - "rateTableId": "string",
- "shippingServices": [
- {
- "additionalShippingCost": {
- "currency": "string",
- "value": "string"
}, - "buyerResponsibleForPickup": true,
- "buyerResponsibleForShipping": true,
- "cashOnDeliveryFee": {
- "currency": "string",
- "value": "string"
}, - "freeShipping": true,
- "shippingCarrierCode": "string",
- "shippingCost": {
- "currency": "string",
- "value": "string"
}, - "shippingServiceCode": "string",
- "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}, - "sortOrder": 0,
- "surcharge": {
- "currency": "string",
- "value": "string"
}
}
]
}
], - "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}
}{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "freightShipping": true,
- "fulfillmentPolicyId": "string",
- "globalShipping": true,
- "handlingTime": {
- "unit": "string",
- "value": 0
}, - "localPickup": true,
- "marketplaceId": "string",
- "name": "string",
- "pickupDropOff": true,
- "shippingOptions": [
- {
- "costType": "string",
- "insuranceFee": {
- "currency": "string",
- "value": "string"
}, - "insuranceOffered": true,
- "optionType": "string",
- "packageHandlingCost": {
- "currency": "string",
- "value": "string"
}, - "rateTableId": "string",
- "shippingServices": [
- {
- "additionalShippingCost": {
- "currency": "string",
- "value": "string"
}, - "buyerResponsibleForPickup": true,
- "buyerResponsibleForShipping": true,
- "cashOnDeliveryFee": {
- "currency": "string",
- "value": "string"
}, - "freeShipping": true,
- "shippingCarrierCode": "string",
- "shippingCost": {
- "currency": "string",
- "value": "string"
}, - "shippingServiceCode": "string",
- "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}, - "sortOrder": 0,
- "surcharge": {
- "currency": "string",
- "value": "string"
}
}
]
}
], - "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}, - "warnings": [
- {
- "category": "string",
- "domain": "string",
- "errorId": 0,
- "inputRefIds": [
- "string"
], - "longMessage": "string",
- "message": "string",
- "outputRefIds": [
- "string"
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
], - "subdomain": "string"
}
]
}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.
| fulfillmentPolicyId required | string This path parameter specifies the ID of the fulfillment policy you want to retrieve. |
{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "freightShipping": true,
- "fulfillmentPolicyId": "string",
- "globalShipping": true,
- "handlingTime": {
- "unit": "string",
- "value": 0
}, - "localPickup": true,
- "marketplaceId": "string",
- "name": "string",
- "pickupDropOff": true,
- "shippingOptions": [
- {
- "costType": "string",
- "insuranceFee": {
- "currency": "string",
- "value": "string"
}, - "insuranceOffered": true,
- "optionType": "string",
- "packageHandlingCost": {
- "currency": "string",
- "value": "string"
}, - "rateTableId": "string",
- "shippingServices": [
- {
- "additionalShippingCost": {
- "currency": "string",
- "value": "string"
}, - "buyerResponsibleForPickup": true,
- "buyerResponsibleForShipping": true,
- "cashOnDeliveryFee": {
- "currency": "string",
- "value": "string"
}, - "freeShipping": true,
- "shippingCarrierCode": "string",
- "shippingCost": {
- "currency": "string",
- "value": "string"
}, - "shippingServiceCode": "string",
- "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}, - "sortOrder": 0,
- "surcharge": {
- "currency": "string",
- "value": "string"
}
}
]
}
], - "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}
}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.
| fulfillmentPolicyId required | string This path parameter specifies the ID of the fulfillment policy you want to update. |
Fulfillment policy request
Array of objects (CategoryType) 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. | |
| description | string 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. |
| freightShipping | boolean This field is included and set to |
| globalShipping | boolean This field is included and set to Default: false |
object (TimeDuration) 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. | |
| localPickup | boolean This field should be included and set to |
| marketplaceId | string The ID of the eBay marketplace to which this fulfillment policy applies. For implementation help, refer to eBay API documentation |
| name | string A seller-defined name for this fulfillment policy. Names must be unique for policies assigned to the same marketplace. |
| pickupDropOff | boolean This field should be included and set to 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
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 |
Array of objects (ShippingOption) 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). The optionType field is used to indicate whether the ShippingOption object applies to domestic or international shipping, and the costType field is used to indicate whether flat-rate shipping or calculated shipping will be used. The rateTableId field can be used to associate a defined shipping rate table to the policy, and the packageHandlingCost container can be used to set a handling charge for the policy. A separate ShippingServices object will be used to specify cost and other details for every available domestic and international shipping service option. | |
object (RegionSet) This type consists of the regionIncluded and regionExcluded arrays, which indicate the areas to where the seller does and doesn't ship. |
{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "freightShipping": true,
- "globalShipping": true,
- "handlingTime": {
- "unit": "string",
- "value": 0
}, - "localPickup": true,
- "marketplaceId": "string",
- "name": "string",
- "pickupDropOff": true,
- "shippingOptions": [
- {
- "costType": "string",
- "insuranceFee": {
- "currency": "string",
- "value": "string"
}, - "insuranceOffered": true,
- "optionType": "string",
- "packageHandlingCost": {
- "currency": "string",
- "value": "string"
}, - "rateTableId": "string",
- "shippingServices": [
- {
- "additionalShippingCost": {
- "currency": "string",
- "value": "string"
}, - "buyerResponsibleForPickup": true,
- "buyerResponsibleForShipping": true,
- "cashOnDeliveryFee": {
- "currency": "string",
- "value": "string"
}, - "freeShipping": true,
- "shippingCarrierCode": "string",
- "shippingCost": {
- "currency": "string",
- "value": "string"
}, - "shippingServiceCode": "string",
- "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}, - "sortOrder": 0,
- "surcharge": {
- "currency": "string",
- "value": "string"
}
}
]
}
], - "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}
}{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "freightShipping": true,
- "fulfillmentPolicyId": "string",
- "globalShipping": true,
- "handlingTime": {
- "unit": "string",
- "value": 0
}, - "localPickup": true,
- "marketplaceId": "string",
- "name": "string",
- "pickupDropOff": true,
- "shippingOptions": [
- {
- "costType": "string",
- "insuranceFee": {
- "currency": "string",
- "value": "string"
}, - "insuranceOffered": true,
- "optionType": "string",
- "packageHandlingCost": {
- "currency": "string",
- "value": "string"
}, - "rateTableId": "string",
- "shippingServices": [
- {
- "additionalShippingCost": {
- "currency": "string",
- "value": "string"
}, - "buyerResponsibleForPickup": true,
- "buyerResponsibleForShipping": true,
- "cashOnDeliveryFee": {
- "currency": "string",
- "value": "string"
}, - "freeShipping": true,
- "shippingCarrierCode": "string",
- "shippingCost": {
- "currency": "string",
- "value": "string"
}, - "shippingServiceCode": "string",
- "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}, - "sortOrder": 0,
- "surcharge": {
- "currency": "string",
- "value": "string"
}
}
]
}
], - "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}, - "warnings": [
- {
- "category": "string",
- "domain": "string",
- "errorId": 0,
- "inputRefIds": [
- "string"
], - "longMessage": "string",
- "message": "string",
- "outputRefIds": [
- "string"
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
], - "subdomain": "string"
}
]
}This method deletes a fulfillment policy. Supply the ID of the policy you want to delete in the fulfillmentPolicyId path parameter.
| fulfillmentPolicyId required | string This path parameter specifies the ID of the fulfillment policy to delete. |
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.
| marketplace_id required | string 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 |
{- "fulfillmentPolicies": [
- {
- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "freightShipping": true,
- "fulfillmentPolicyId": "string",
- "globalShipping": true,
- "handlingTime": {
- "unit": "string",
- "value": 0
}, - "localPickup": true,
- "marketplaceId": "string",
- "name": "string",
- "pickupDropOff": true,
- "shippingOptions": [
- {
- "costType": "string",
- "insuranceFee": {
- "currency": "string",
- "value": "string"
}, - "insuranceOffered": true,
- "optionType": "string",
- "packageHandlingCost": {
- "currency": "string",
- "value": "string"
}, - "rateTableId": "string",
- "shippingServices": [
- {
- "additionalShippingCost": {
- "currency": "string",
- "value": "string"
}, - "buyerResponsibleForPickup": true,
- "buyerResponsibleForShipping": true,
- "cashOnDeliveryFee": {
- "currency": "string",
- "value": "string"
}, - "freeShipping": true,
- "shippingCarrierCode": "string",
- "shippingCost": {
- "currency": "string",
- "value": "string"
}, - "shippingServiceCode": "string",
- "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": null,
- "regionType": null
}
], - "regionIncluded": [
- {
- "regionName": null,
- "regionType": null
}
]
}, - "sortOrder": 0,
- "surcharge": {
- "currency": "string",
- "value": "string"
}
}
]
}
], - "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}
}
], - "href": "string",
- "limit": 0,
- "next": "string",
- "offset": 0,
- "prev": "string",
- "total": 0
}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.
| marketplace_id required | string 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 |
| name required | string This query parameter specifies the seller-defined name of the fulfillment policy you want to retrieve. |
{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "freightShipping": true,
- "fulfillmentPolicyId": "string",
- "globalShipping": true,
- "handlingTime": {
- "unit": "string",
- "value": 0
}, - "localPickup": true,
- "marketplaceId": "string",
- "name": "string",
- "pickupDropOff": true,
- "shippingOptions": [
- {
- "costType": "string",
- "insuranceFee": {
- "currency": "string",
- "value": "string"
}, - "insuranceOffered": true,
- "optionType": "string",
- "packageHandlingCost": {
- "currency": "string",
- "value": "string"
}, - "rateTableId": "string",
- "shippingServices": [
- {
- "additionalShippingCost": {
- "currency": "string",
- "value": "string"
}, - "buyerResponsibleForPickup": true,
- "buyerResponsibleForShipping": true,
- "cashOnDeliveryFee": {
- "currency": "string",
- "value": "string"
}, - "freeShipping": true,
- "shippingCarrierCode": "string",
- "shippingCost": {
- "currency": "string",
- "value": "string"
}, - "shippingServiceCode": "string",
- "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}, - "sortOrder": 0,
- "surcharge": {
- "currency": "string",
- "value": "string"
}
}
]
}
], - "shipToLocations": {
- "regionExcluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
], - "regionIncluded": [
- {
- "regionName": "string",
- "regionType": "string"
}
]
}
}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.
| marketplace_id required | string 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 |
{- "href": "string",
- "limit": 0,
- "next": "string",
- "offset": 0,
- "paymentPolicies": [
- {
- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "deposit": {
- "amount": {
- "currency": "string",
- "value": "string"
}, - "dueIn": {
- "unit": "string",
- "value": 0
}, - "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
]
}, - "description": "string",
- "fullPaymentDueIn": {
- "unit": "string",
- "value": 0
}, - "immediatePay": true,
- "marketplaceId": "string",
- "name": "string",
- "paymentInstructions": "string",
- "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
], - "paymentPolicyId": "string"
}
], - "prev": "string",
- "total": 0
}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.
Payment policy request
Array of objects (CategoryType) 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. | |
object (Deposit) This type is used to specify/indicate that an initial deposit is required for a motor vehicle listing. | |
| description | string 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. |
object (TimeDuration) 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. | |
| immediatePay | boolean This field should be included and set to
Default: False |
| marketplaceId | string The ID of the eBay marketplace to which this payment business policy applies. For implementation help, refer to eBay API documentation |
| name | string A seller-defined name for this payment business policy. Names must be unique for policies assigned to the same marketplace. |
| paymentInstructions | string 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. |
Array of objects (PaymentMethod) 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. |
{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "deposit": {
- "amount": {
- "currency": "string",
- "value": "string"
}, - "dueIn": {
- "unit": "string",
- "value": 0
}, - "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
]
}, - "description": "string",
- "fullPaymentDueIn": {
- "unit": "string",
- "value": 0
}, - "immediatePay": true,
- "marketplaceId": "string",
- "name": "string",
- "paymentInstructions": "string",
- "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
]
}{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "deposit": {
- "amount": {
- "currency": "string",
- "value": "string"
}, - "dueIn": {
- "unit": "string",
- "value": 0
}, - "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
]
}, - "description": "string",
- "fullPaymentDueIn": {
- "unit": "string",
- "value": 0
}, - "immediatePay": true,
- "marketplaceId": "string",
- "name": "string",
- "paymentInstructions": "string",
- "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
], - "paymentPolicyId": "string",
- "warnings": [
- {
- "category": "string",
- "domain": "string",
- "errorId": 0,
- "inputRefIds": [
- "string"
], - "longMessage": "string",
- "message": "string",
- "outputRefIds": [
- "string"
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
], - "subdomain": "string"
}
]
}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.
| payment_policy_id required | string This path parameter specifies the ID of the payment policy you want to retrieve. |
{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "deposit": {
- "amount": {
- "currency": "string",
- "value": "string"
}, - "dueIn": {
- "unit": "string",
- "value": 0
}, - "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
]
}, - "description": "string",
- "fullPaymentDueIn": {
- "unit": "string",
- "value": 0
}, - "immediatePay": true,
- "marketplaceId": "string",
- "name": "string",
- "paymentInstructions": "string",
- "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
], - "paymentPolicyId": "string"
}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.
| payment_policy_id required | string This path parameter specifies the ID of the payment policy you want to update. |
Payment policy request
Array of objects (CategoryType) 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. | |
object (Deposit) This type is used to specify/indicate that an initial deposit is required for a motor vehicle listing. | |
| description | string 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. |
object (TimeDuration) 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. | |
| immediatePay | boolean This field should be included and set to
Default: False |
| marketplaceId | string The ID of the eBay marketplace to which this payment business policy applies. For implementation help, refer to eBay API documentation |
| name | string A seller-defined name for this payment business policy. Names must be unique for policies assigned to the same marketplace. |
| paymentInstructions | string 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. |
Array of objects (PaymentMethod) 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. |
{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "deposit": {
- "amount": {
- "currency": "string",
- "value": "string"
}, - "dueIn": {
- "unit": "string",
- "value": 0
}, - "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
]
}, - "description": "string",
- "fullPaymentDueIn": {
- "unit": "string",
- "value": 0
}, - "immediatePay": true,
- "marketplaceId": "string",
- "name": "string",
- "paymentInstructions": "string",
- "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
]
}{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "deposit": {
- "amount": {
- "currency": "string",
- "value": "string"
}, - "dueIn": {
- "unit": "string",
- "value": 0
}, - "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
]
}, - "description": "string",
- "fullPaymentDueIn": {
- "unit": "string",
- "value": 0
}, - "immediatePay": true,
- "marketplaceId": "string",
- "name": "string",
- "paymentInstructions": "string",
- "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
], - "paymentPolicyId": "string",
- "warnings": [
- {
- "category": "string",
- "domain": "string",
- "errorId": 0,
- "inputRefIds": [
- "string"
], - "longMessage": "string",
- "message": "string",
- "outputRefIds": [
- "string"
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
], - "subdomain": "string"
}
]
}This method deletes a payment policy. Supply the ID of the policy you want to delete in the paymentPolicyId path parameter.
| payment_policy_id required | string This path parameter specifies the ID of the payment policy you want to delete. |
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.
| marketplace_id required | string 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 |
| name required | string This query parameter specifies the seller-defined name of the payment policy you want to retrieve. |
{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "deposit": {
- "amount": {
- "currency": "string",
- "value": "string"
}, - "dueIn": {
- "unit": "string",
- "value": 0
}, - "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
]
}, - "description": "string",
- "fullPaymentDueIn": {
- "unit": "string",
- "value": 0
}, - "immediatePay": true,
- "marketplaceId": "string",
- "name": "string",
- "paymentInstructions": "string",
- "paymentMethods": [
- {
- "brands": [
- "string"
], - "paymentMethodType": "string",
- "recipientAccountReference": {
- "referenceId": "string",
- "referenceType": "string"
}
}
], - "paymentPolicyId": "string"
}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.
| marketplace_id required | string This path parameter specifies the eBay marketplace of the payments program for which you want to retrieve the seller's status. |
| payments_program_type required | string This path parameter specifies the payments program whose status is returned by the call. |
{- "marketplaceId": "string",
- "paymentsProgramType": "string",
- "status": "string",
- "wasPreviouslyOptedIn": true
}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.
| marketplace_id required | string The eBay marketplace ID associated with the onboarding status to retrieve. |
| payments_program_type required | string The type of payments program whose status is returned by the method. |
{- "onboardingStatus": "string",
- "steps": [
- {
- "name": "string",
- "status": "string",
- "webUrl": "string"
}
]
}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).
{- "sellerRegistrationCompleted": true,
- "sellingLimit": {
- "amount": {
- "currency": "string",
- "value": "string"
}, - "quantity": 0
}
}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.
Program being opted-in to.
| programType | string A seller program in to which a seller can opt-in. For implementation help, refer to eBay API documentation |
{- "programType": "string"
}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.
Program being opted-out of.
| programType | string A seller program in to which a seller can opt-in. For implementation help, refer to eBay API documentation |
{- "programType": "string"
}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:
EBAY_AUEBAY_CAEBAY_DEEBAY_ESEBAY_FREBAY_GBEBAY_ITEBAY_US| country_code | string 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 |
{- "rateTables": [
- {
- "countryCode": "string",
- "locality": "string",
- "name": "string",
- "rateTableId": "string"
}
]
}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.
| marketplace_id required | string 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 |
{- "href": "string",
- "limit": 0,
- "next": "string",
- "offset": 0,
- "prev": "string",
- "returnPolicies": [
- {
- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "extendedHolidayReturnsOffered": true,
- "internationalOverride": {
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnsAccepted": true,
- "returnShippingCostPayer": "string"
}, - "marketplaceId": "string",
- "name": "string",
- "refundMethod": "string",
- "restockingFeePercentage": "string",
- "returnInstructions": "string",
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnPolicyId": "string",
- "returnsAccepted": true,
- "returnShippingCostPayer": "string"
}
], - "total": 0
}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.
Return policy request
Array of objects (CategoryType) This container indicates which category group that the return policy applies to. | |
| description | string 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. |
| extendedHolidayReturnsOffered | boolean Important! This field is deprecated, since eBay no longer supports extended holiday returns. Any value supplied in this field is neither read nor returned. |
object (InternationalReturnOverrideType) 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. | |
| marketplaceId | string The ID of the eBay marketplace to which this return business policy applies. For implementation help, refer to eBay API documentation |
| name | string A seller-defined name for this return business policy. Names must be unique for policies assigned to the same marketplace. |
| refundMethod | string This value indicates the refund method that will be used by the seller for buyer returns. Important! If this field is not included in a return business policy, it will default to MONEY_BACK. For implementation help, refer to eBay API documentation |
| restockingFeePercentage | string Important! This field is deprecated, since eBay no longer allows sellers to charge a restocking fee for buyer remorse returns. If this field is included, it is ignored. |
| returnInstructions | string 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 Max length: 5000 (8000 for DE) |
| returnMethod | string 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 |
object (TimeDuration) 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. | |
| returnsAccepted | boolean If set to Note:Top-Rated sellers must accept item returns and the handlingTime should be set to zero days or one day for a listing to receive a Top-Rated Plus badge on the View Item or search result pages. For more information on eBay's Top-Rated seller program, see Becoming a Top Rated Seller and qualifying for Top Rated Plus benefits. |
| returnShippingCostPayer | string This field indicates who is responsible for paying for the shipping charges for returned items. The field can be set to either |
{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "extendedHolidayReturnsOffered": true,
- "internationalOverride": {
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnsAccepted": true,
- "returnShippingCostPayer": "string"
}, - "marketplaceId": "string",
- "name": "string",
- "refundMethod": "string",
- "restockingFeePercentage": "string",
- "returnInstructions": "string",
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnsAccepted": true,
- "returnShippingCostPayer": "string"
}{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "extendedHolidayReturnsOffered": true,
- "internationalOverride": {
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnsAccepted": true,
- "returnShippingCostPayer": "string"
}, - "marketplaceId": "string",
- "name": "string",
- "refundMethod": "string",
- "restockingFeePercentage": "string",
- "returnInstructions": "string",
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnPolicyId": "string",
- "returnsAccepted": true,
- "returnShippingCostPayer": "string",
- "warnings": [
- {
- "category": "string",
- "domain": "string",
- "errorId": 0,
- "inputRefIds": [
- "string"
], - "longMessage": "string",
- "message": "string",
- "outputRefIds": [
- "string"
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
], - "subdomain": "string"
}
]
}This method retrieves the complete details of the return policy specified by the returnPolicyId path parameter.
| return_policy_id required | string This path parameter specifies the of the return policy you want to retrieve. |
{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "extendedHolidayReturnsOffered": true,
- "internationalOverride": {
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnsAccepted": true,
- "returnShippingCostPayer": "string"
}, - "marketplaceId": "string",
- "name": "string",
- "refundMethod": "string",
- "restockingFeePercentage": "string",
- "returnInstructions": "string",
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnPolicyId": "string",
- "returnsAccepted": true,
- "returnShippingCostPayer": "string"
}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.
| return_policy_id required | string This path parameter specifies the ID of the return policy you want to update. |
Container for a return policy request.
Array of objects (CategoryType) This container indicates which category group that the return policy applies to. | |
| description | string 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. |
| extendedHolidayReturnsOffered | boolean Important! This field is deprecated, since eBay no longer supports extended holiday returns. Any value supplied in this field is neither read nor returned. |
object (InternationalReturnOverrideType) 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. | |
| marketplaceId | string The ID of the eBay marketplace to which this return business policy applies. For implementation help, refer to eBay API documentation |
| name | string A seller-defined name for this return business policy. Names must be unique for policies assigned to the same marketplace. |
| refundMethod | string This value indicates the refund method that will be used by the seller for buyer returns. Important! If this field is not included in a return business policy, it will default to MONEY_BACK. For implementation help, refer to eBay API documentation |
| restockingFeePercentage | string Important! This field is deprecated, since eBay no longer allows sellers to charge a restocking fee for buyer remorse returns. If this field is included, it is ignored. |
| returnInstructions | string 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 Max length: 5000 (8000 for DE) |
| returnMethod | string 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 |
object (TimeDuration) 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. | |
| returnsAccepted | boolean If set to Note:Top-Rated sellers must accept item returns and the handlingTime should be set to zero days or one day for a listing to receive a Top-Rated Plus badge on the View Item or search result pages. For more information on eBay's Top-Rated seller program, see Becoming a Top Rated Seller and qualifying for Top Rated Plus benefits. |
| returnShippingCostPayer | string This field indicates who is responsible for paying for the shipping charges for returned items. The field can be set to either |
{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "extendedHolidayReturnsOffered": true,
- "internationalOverride": {
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnsAccepted": true,
- "returnShippingCostPayer": "string"
}, - "marketplaceId": "string",
- "name": "string",
- "refundMethod": "string",
- "restockingFeePercentage": "string",
- "returnInstructions": "string",
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnsAccepted": true,
- "returnShippingCostPayer": "string"
}{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "extendedHolidayReturnsOffered": true,
- "internationalOverride": {
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnsAccepted": true,
- "returnShippingCostPayer": "string"
}, - "marketplaceId": "string",
- "name": "string",
- "refundMethod": "string",
- "restockingFeePercentage": "string",
- "returnInstructions": "string",
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnPolicyId": "string",
- "returnsAccepted": true,
- "returnShippingCostPayer": "string",
- "warnings": [
- {
- "category": "string",
- "domain": "string",
- "errorId": 0,
- "inputRefIds": [
- "string"
], - "longMessage": "string",
- "message": "string",
- "outputRefIds": [
- "string"
], - "parameters": [
- {
- "name": "string",
- "value": "string"
}
], - "subdomain": "string"
}
]
}This method deletes a return policy. Supply the ID of the policy you want to delete in the returnPolicyId path parameter.
| return_policy_id required | string This path parameter specifies the ID of the return policy you want to delete. |
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.
| marketplace_id required | string 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 |
| name required | string This query parameter specifies the seller-defined name of the return policy you want to retrieve. |
{- "categoryTypes": [
- {
- "default": true,
- "name": "string"
}
], - "description": "string",
- "extendedHolidayReturnsOffered": true,
- "internationalOverride": {
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnsAccepted": true,
- "returnShippingCostPayer": "string"
}, - "marketplaceId": "string",
- "name": "string",
- "refundMethod": "string",
- "restockingFeePercentage": "string",
- "returnInstructions": "string",
- "returnMethod": "string",
- "returnPeriod": {
- "unit": "string",
- "value": 0
}, - "returnPolicyId": "string",
- "returnsAccepted": true,
- "returnShippingCostPayer": "string"
}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.
| countryCode required | string This path parameter specifies the two-letter ISO 3166 code for the country whose sales tax table you want to retrieve. |
| jurisdictionId required | string 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. |
{- "countryCode": "string",
- "salesTaxJurisdictionId": "string",
- "salesTaxPercentage": "string",
- "shippingAndHandlingTaxed": true
}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.
| countryCode required | string This path parameter specifies the two-letter ISO 3166 code for the country for which you want to create a sales tax table entry. |
| jurisdictionId required | string 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. |
A container that describes the how the sales tax is calculated.
| salesTaxPercentage | string 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 |
| shippingAndHandlingTaxed | boolean This field is set to |
{- "salesTaxPercentage": "string",
- "shippingAndHandlingTaxed": true
}This call deletes a sales tax table entry for a jurisdiction. Specify the jurisdiction to delete using the countryCode and jurisdictionId path parameters.
| countryCode required | string This path parameter specifies the two-letter ISO 3166 code for the country whose sales tax table entry you want to delete. |
| jurisdictionId required | string 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. |
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.
| country_code required | string 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 |
{- "salesTaxes": [
- {
- "countryCode": "string",
- "salesTaxJurisdictionId": "string",
- "salesTaxPercentage": "string",
- "shippingAndHandlingTaxed": true
}
]
}This method retrieves a list of subscriptions associated with the seller account.
| limit | string This field is for future use. |
| continuation_token | string This field is for future use. |
{- "href": "string",
- "limit": 0,
- "next": "string",
- "subscriptions": [
- {
- "marketplaceId": "string",
- "subscriptionId": "string",
- "subscriptionLevel": "string",
- "subscriptionType": "string",
- "term": {
- "unit": "string",
- "value": 0
}
}
], - "total": 0
}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.
{- "kycChecks": [
- {
- "dataRequired": "string",
- "dueDate": "string",
- "remedyUrl": "string",
- "alert": "string",
- "detailMessage": "string"
}
]
}This method allows developers to check the seller eligibility status for eBay advertising programs.
| program_types | string A comma-separated list of eBay advertising programs. |
| X-EBAY-C-MARKETPLACE-ID required | string The unique identifier of the eBay marketplace for which the seller eligibility status shall be checked. |
{- "advertisingEligibility": [
- {
- "programType": "string",
- "reason": "string",
- "status": "string"
}
]
}