{ "opencollection": "1.0.0", "info": { "name": "eBay Account Advertising_eligibility Sales_tax API", "version": "v1.9.2" }, "items": [ { "info": { "name": "Sales_tax", "type": "folder" }, "items": [ { "info": { "name": "getSalesTax", "type": "http" }, "http": { "method": "GET", "url": "https://api.ebay.com{basePath}/sales_tax/:countryCode/:jurisdictionId", "params": [ { "name": "countryCode", "value": "", "type": "path", "description": "This path parameter specifies the two-letter ISO 3166 code for the country whose sales tax table you want to retrieve.

Note: Sales-tax tables are available only for the US and Canada marketplaces. Therefore, the only supported values are:" }, { "name": "jurisdictionId", "value": "", "type": "path", "description": "This path parameter specifies the ID of the sales tax jurisdiction for the tax table entry to be retrieved.

Valid jurisdiction IDs can be retrieved using the getSalesTaxJurisdiction method of the Metadata API.

Note: When countryCode is set to US, the only supported values for jurisdictionId are:" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.ebay.com/oauth2/authorize", "accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This call retrieves 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.

Note: Sales-tax tables are only available for the US (EBAY_US) and Canada (EBAY_CA) marketplaces.
ISO 3166 code for the country for which you want to create a sales tax table entry.

Note: Sales-tax tables are available only for the US and Canada marketplaces. Therefore, the only supported values are:
  • US
  • CA
" }, { "name": "jurisdictionId", "value": "", "type": "path", "description": "This path parameter specifies the ID of the tax jurisdiction for the table entry to be created.

Valid jurisdiction IDs can be retrieved using the getSalesTaxJurisdiction method of the Metadata API.

Note: When countryCode is set to US, the only supported values for jurisdictionId are:
  • AS (American Samoa)
  • GU (Guam)
  • MP (Northern Mariana Islands)
  • PW (Palau)
  • VI (US Virgin Islands)
" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.ebay.com/oauth2/authorize", "accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "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 sales-tax tables for countries that sup" }, { "info": { "name": "deleteSalesTax", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.ebay.com{basePath}/sales_tax/:countryCode/:jurisdictionId", "params": [ { "name": "countryCode", "value": "", "type": "path", "description": "This path parameter specifies the two-letter ISO 3166 code for the country whose sales tax table entry you want to delete.

Note: Sales-tax tables are available only for the US and Canada marketplaces. Therefore, the only supported values are:
  • US
  • CA
" }, { "name": "jurisdictionId", "value": "", "type": "path", "description": "This path parameter specifies the ID of the sales tax jurisdiction whose table entry you want to delete.

Valid jurisdiction IDs can be retrieved using the getSalesTaxJurisdiction method of the Metadata API.

Note: When countryCode is set to US, the only supported values for jurisdictionId are:
  • AS (American Samoa)
  • GU (Guam)
  • MP (Northern Mariana Islands)
  • PW (Palau)
  • VI (US Virgin Islands)
" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.ebay.com/oauth2/authorize", "accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This call deletes a sales-tax table entry for a jurisdiction. Specify the jurisdiction to delete using the countryCode and jurisdictionId path parameters.

Note: Sales-tax tables are only available for the US (EBAY_US) and Canada (EBAY_CA) marketplaces." }, { "info": { "name": "getSalesTaxes", "type": "http" }, "http": { "method": "GET", "url": "https://api.ebay.com{basePath}/sales_tax", "params": [ { "name": "country_code", "value": "", "type": "query", "description": "This path parameter specifies the two-letter ISO 3166 code for the country whose tax table you want to retrieve.

Note: Sales-tax tables are available only for the US and Canada marketplaces. Therefore, the only supported values are:
  • US
  • CA
For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/account/types/ba:CountryCodeEnum" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.ebay.com/oauth2/authorize", "accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "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.

Note: Sales-tax tables are only available for the US (EBAY_US) and Canada (EBAY_CA) marketplaces.