All URIs are relative to https://secure.ultracart.com/rest/v2
| Method | HTTP request | Description |
|---|---|---|
| deleteTaxProviderSelfCity | DELETE /tax/providers/self/city/{city} | Deletes a Self tax provider city |
| deleteTaxProviderSelfCountry | DELETE /tax/providers/self/country/{countryCode} | Deletes a Self tax provider country |
| deleteTaxProviderSelfCounty | DELETE /tax/providers/self/county/{county} | Deletes a Self tax provider county |
| deleteTaxProviderSelfPostalCode | DELETE /tax/providers/self/postalCode/{postal_code} | Deletes a Self tax provider postalCode |
| deleteTaxProviderSelfState | DELETE /tax/providers/self/state/{stateCode} | Deletes a Self tax provider state |
| getTaxProviderAnrok | GET /tax/providers/anrok | Retrieve the Anrok tax provider |
| getTaxProviderAnrokTest | GET /tax/providers/anrok/test | Attempts to connect to Anrok and returns back the response |
| getTaxProviderAvalara | GET /tax/providers/avalara | Retrieve the Avalara tax provider |
| getTaxProviderAvalaraCompanies | POST /tax/providers/avalara/companies | Returns Avalara Tax companies configured by the merchant |
| getTaxProviderAvalaraTest | GET /tax/providers/avalara/test | Attempts to connect to Avalara and returns back the response |
| getTaxProviderSelf | GET /tax/providers/self | Retrieve the Self tax provider |
| getTaxProviderSelfCountries | GET /tax/providers/self/countries | Retrieve the Self tax provider countries |
| getTaxProviderSelfRegionsByCountryCode | GET /tax/providers/self/regions/{countryCode} | Retrieve the Self tax provider regions for a given country code |
| getTaxProviderSovos | GET /tax/providers/sovos | Retrieve the Sovos tax provider |
| getTaxProviderSovosTest | GET /tax/providers/sovos/test | Attempts to connect to Sovos and returns back the response |
| getTaxProviderTaxJar | GET /tax/providers/taxjar | Retrieve the TaxJar tax provider |
| getTaxProviderTaxJarTest | GET /tax/providers/taxjar/test | Attempts to connect to TaxJar and returns back the response |
| getTaxProviderUltraCart | GET /tax/providers/ultracart | Retrieve the UltraCart tax provider |
| getTaxProviders | GET /tax/providers | Retrieve tax methods |
| setActiveTaxProvider | POST /tax/providers/setActive/{providerName} | Toggle a tax provider to active |
| updateTaxProviderAnrok | POST /tax/providers/anrok | Update the Anrok tax provider |
| updateTaxProviderAvalara | POST /tax/providers/avalara | Update the Avalara tax provider |
| updateTaxProviderSelf | POST /tax/providers/self | Update the Self tax provider |
| updateTaxProviderSelfCity | POST /tax/providers/self/city/{city} | Updates a Self tax provider city |
| updateTaxProviderSelfCountry | POST /tax/providers/self/country/{countryCode} | Updates a Self tax provider country |
| updateTaxProviderSelfCounty | POST /tax/providers/self/county/{county} | Updates a Self tax provider county |
| updateTaxProviderSelfPostalCode | POST /tax/providers/self/postalCode/{postal_code} | Updates a Self tax provider postalCode |
| updateTaxProviderSelfState | POST /tax/providers/self/state/{stateCode} | Updates a Self tax provider state |
| updateTaxProviderSovos | POST /tax/providers/sovos | Update the Sovos tax provider |
| updateTaxProviderTaxJar | POST /tax/providers/taxjar | Update the TaxJar tax provider |
| updateTaxProviderUltraCart | POST /tax/providers/ultracart | Update the UltraCart tax provider |
deleteTaxProviderSelfCity(city, tax_city)
Deletes a Self tax provider city
Deletes a Self tax provider city.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let city = "city_example"; // String | The city being deleted.
let tax_city = new UltraCartRestApiV2.TaxCity(); // TaxCity | tax city to be deleted
apiInstance.deleteTaxProviderSelfCity(city, tax_city, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| city | String | The city being deleted. | |
| tax_city | TaxCity | tax city to be deleted |
null (empty response body)
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
deleteTaxProviderSelfCountry(countryCode, tax_country)
Deletes a Self tax provider country
Deletes a Self tax provider country.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let countryCode = "countryCode_example"; // String | The country code being deleted.
let tax_country = new UltraCartRestApiV2.TaxCountry(); // TaxCountry | tax country to be deleted
apiInstance.deleteTaxProviderSelfCountry(countryCode, tax_country, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| countryCode | String | The country code being deleted. | |
| tax_country | TaxCountry | tax country to be deleted |
null (empty response body)
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
deleteTaxProviderSelfCounty(county, tax_county)
Deletes a Self tax provider county
Deletes a Self tax provider county.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let county = "county_example"; // String | The county being deleted.
let tax_county = new UltraCartRestApiV2.TaxCounty(); // TaxCounty | tax county to be deleted
apiInstance.deleteTaxProviderSelfCounty(county, tax_county, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| county | String | The county being deleted. | |
| tax_county | TaxCounty | tax county to be deleted |
null (empty response body)
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
deleteTaxProviderSelfPostalCode(postal_code, tax_postal_code)
Deletes a Self tax provider postalCode
Deletes a Self tax provider postalCode.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let postal_code = "postal_code_example"; // String | The postal code being deleted.
let tax_postal_code = new UltraCartRestApiV2.TaxPostalCode(); // TaxPostalCode | tax postal code to be deleted
apiInstance.deleteTaxProviderSelfPostalCode(postal_code, tax_postal_code, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| postal_code | String | The postal code being deleted. | |
| tax_postal_code | TaxPostalCode | tax postal code to be deleted |
null (empty response body)
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
deleteTaxProviderSelfState(stateCode, tax_state)
Deletes a Self tax provider state
Deletes a Self tax provider state.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let stateCode = "stateCode_example"; // String | The state code being deleted.
let tax_state = new UltraCartRestApiV2.TaxState(); // TaxState | tax state to be deleted
apiInstance.deleteTaxProviderSelfState(stateCode, tax_state, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| stateCode | String | The state code being deleted. | |
| tax_state | TaxState | tax state to be deleted |
null (empty response body)
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProviderAnrok getTaxProviderAnrok()
Retrieve the Anrok tax provider
Retrieves the Anrok tax provider.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getTaxProviderAnrok((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderTestResult getTaxProviderAnrokTest()
Attempts to connect to Anrok and returns back the response
Attempts to connect to Anrok and returns back the response.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getTaxProviderAnrokTest((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderAvalara getTaxProviderAvalara()
Retrieve the Avalara tax provider
Retrieves the Avalara tax provider.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getTaxProviderAvalara((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderAvalaraCompaniesResult getTaxProviderAvalaraCompanies(tax_provider_avalara)
Returns Avalara Tax companies configured by the merchant
Returns Avalara Tax companies configured by the merchant
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let tax_provider_avalara = new UltraCartRestApiV2.TaxProviderAvalara(); // TaxProviderAvalara | TaxProviderAvalara object
apiInstance.getTaxProviderAvalaraCompanies(tax_provider_avalara, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| tax_provider_avalara | TaxProviderAvalara | TaxProviderAvalara object |
TaxProviderAvalaraCompaniesResult
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProviderTestResult getTaxProviderAvalaraTest()
Attempts to connect to Avalara and returns back the response
Attempts to connect to Avalara and returns back the response.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getTaxProviderAvalaraTest((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderSelf getTaxProviderSelf()
Retrieve the Self tax provider
Retrieves the Self tax provider.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getTaxProviderSelf((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderSelfCountriesResponse getTaxProviderSelfCountries()
Retrieve the Self tax provider countries
Retrieves the Self tax provider countries.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getTaxProviderSelfCountries((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
TaxProviderSelfCountriesResponse
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderSelfRegionsResponse getTaxProviderSelfRegionsByCountryCode(countryCode)
Retrieve the Self tax provider regions for a given country code
Retrieves the Self tax provider regions for a given country code.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let countryCode = "countryCode_example"; // String | The country code regions desired.
apiInstance.getTaxProviderSelfRegionsByCountryCode(countryCode, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| countryCode | String | The country code regions desired. |
TaxProviderSelfRegionsResponse
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderSovos getTaxProviderSovos()
Retrieve the Sovos tax provider
Retrieves the Sovos tax provider.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getTaxProviderSovos((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderTestResult getTaxProviderSovosTest()
Attempts to connect to Sovos and returns back the response
Attempts to connect to Sovos and returns back the response.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getTaxProviderSovosTest((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderTaxJar getTaxProviderTaxJar()
Retrieve the TaxJar tax provider
Retrieves the TaxJar tax provider.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getTaxProviderTaxJar((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderTestResult getTaxProviderTaxJarTest()
Attempts to connect to TaxJar and returns back the response
Attempts to connect to TaxJar and returns back the response.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getTaxProviderTaxJarTest((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderUltraCart getTaxProviderUltraCart()
Retrieve the UltraCart tax provider
Retrieves the UltraCart tax provider.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getTaxProviderUltraCart((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProvidersResponse getTaxProviders(opts)
Retrieve tax methods
Retrieves tax methods for this account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let opts = {
'_limit': 100, // Number | The maximum number of records to return on this one API call. (Max 200)
'_offset': 0, // Number | Pagination of the record set. Offset is a zero based index.
'_expand': "_expand_example" // String | The object expansion to perform on the result. See documentation for examples
};
apiInstance.getTaxProviders(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| _limit | Number | The maximum number of records to return on this one API call. (Max 200) | [optional] [default to 100] |
| _offset | Number | Pagination of the record set. Offset is a zero based index. | [optional] [default to 0] |
| _expand | String | The object expansion to perform on the result. See documentation for examples | [optional] |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderActivateResult setActiveTaxProvider(providerName)
Toggle a tax provider to active
Toggle a tax provider to active.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let providerName = "providerName_example"; // String | The tax provider to set active.
apiInstance.setActiveTaxProvider(providerName, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| providerName | String | The tax provider to set active. |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
TaxProviderAnrok updateTaxProviderAnrok(tax_provider_anrok)
Update the Anrok tax provider
Update the Anrok tax provider.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let tax_provider_anrok = new UltraCartRestApiV2.TaxProviderAnrok(); // TaxProviderAnrok | TaxProviderAnrok object
apiInstance.updateTaxProviderAnrok(tax_provider_anrok, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| tax_provider_anrok | TaxProviderAnrok | TaxProviderAnrok object |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProviderAvalara updateTaxProviderAvalara(tax_provider_avalara)
Update the Avalara tax provider
Update the Avalara tax provider.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let tax_provider_avalara = new UltraCartRestApiV2.TaxProviderAvalara(); // TaxProviderAvalara | TaxProviderAvalara object
apiInstance.updateTaxProviderAvalara(tax_provider_avalara, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| tax_provider_avalara | TaxProviderAvalara | TaxProviderAvalara object |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProviderSelf updateTaxProviderSelf(tax_provider_self)
Update the Self tax provider
Update the Self tax provider.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let tax_provider_self = new UltraCartRestApiV2.TaxProviderSelf(); // TaxProviderSelf | TaxProviderSelf object
apiInstance.updateTaxProviderSelf(tax_provider_self, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| tax_provider_self | TaxProviderSelf | TaxProviderSelf object |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxCity updateTaxProviderSelfCity(city, tax_city)
Updates a Self tax provider city
Updates a Self tax provider city.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let city = "city_example"; // String | The city being updated.
let tax_city = new UltraCartRestApiV2.TaxCity(); // TaxCity | tax city to be updated
apiInstance.updateTaxProviderSelfCity(city, tax_city, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| city | String | The city being updated. | |
| tax_city | TaxCity | tax city to be updated |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxCountry updateTaxProviderSelfCountry(countryCode, tax_country)
Updates a Self tax provider country
Updates a Self tax provider country.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let countryCode = "countryCode_example"; // String | The country code being updated.
let tax_country = new UltraCartRestApiV2.TaxCountry(); // TaxCountry | tax country to be updated
apiInstance.updateTaxProviderSelfCountry(countryCode, tax_country, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| countryCode | String | The country code being updated. | |
| tax_country | TaxCountry | tax country to be updated |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxCounty updateTaxProviderSelfCounty(county, tax_county)
Updates a Self tax provider county
Updates a Self tax provider county.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let county = "county_example"; // String | The county being updated.
let tax_county = new UltraCartRestApiV2.TaxCounty(); // TaxCounty | tax county to be updated
apiInstance.updateTaxProviderSelfCounty(county, tax_county, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| county | String | The county being updated. | |
| tax_county | TaxCounty | tax county to be updated |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxPostalCode updateTaxProviderSelfPostalCode(postal_code, tax_postal_code)
Updates a Self tax provider postalCode
Updates a Self tax provider postalCode.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let postal_code = "postal_code_example"; // String | The postal code being updated.
let tax_postal_code = new UltraCartRestApiV2.TaxPostalCode(); // TaxPostalCode | tax postal code to be updated
apiInstance.updateTaxProviderSelfPostalCode(postal_code, tax_postal_code, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| postal_code | String | The postal code being updated. | |
| tax_postal_code | TaxPostalCode | tax postal code to be updated |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxState updateTaxProviderSelfState(stateCode, tax_state)
Updates a Self tax provider state
Updates a Self tax provider state.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let stateCode = "stateCode_example"; // String | The state code being updated.
let tax_state = new UltraCartRestApiV2.TaxState(); // TaxState | tax state to be updated
apiInstance.updateTaxProviderSelfState(stateCode, tax_state, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| stateCode | String | The state code being updated. | |
| tax_state | TaxState | tax state to be updated |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProviderSovos updateTaxProviderSovos(tax_provider_sovos)
Update the Sovos tax provider
Update the Sovos tax provider.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let tax_provider_sovos = new UltraCartRestApiV2.TaxProviderSovos(); // TaxProviderSovos | TaxProviderSovos object
apiInstance.updateTaxProviderSovos(tax_provider_sovos, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| tax_provider_sovos | TaxProviderSovos | TaxProviderSovos object |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProviderTaxJar updateTaxProviderTaxJar(tax_provider_taxJar)
Update the TaxJar tax provider
Update the TaxJar tax provider.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let tax_provider_taxJar = new UltraCartRestApiV2.TaxProviderTaxJar(); // TaxProviderTaxJar | TaxProviderTaxJar object
apiInstance.updateTaxProviderTaxJar(tax_provider_taxJar, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| tax_provider_taxJar | TaxProviderTaxJar | TaxProviderTaxJar object |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProviderUltraCart updateTaxProviderUltraCart(tax_provider_ultracart)
Update the UltraCart tax provider
Update the UltraCart tax provider.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.TaxApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let tax_provider_ultracart = new UltraCartRestApiV2.TaxProviderUltraCart(); // TaxProviderUltraCart | TaxProviderUltraCart object
apiInstance.updateTaxProviderUltraCart(tax_provider_ultracart, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| tax_provider_ultracart | TaxProviderUltraCart | TaxProviderUltraCart object |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json