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 |
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 |
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var city = "city_example"; // String | The city being deleted.
var tax_city = new UltraCartRestApiV2.TaxCity(); // TaxCity | tax city to be deleted
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.deleteTaxProviderSelfCity(city, tax_city, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var countryCode = "countryCode_example"; // String | The country code being deleted.
var tax_country = new UltraCartRestApiV2.TaxCountry(); // TaxCountry | tax country to be deleted
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.deleteTaxProviderSelfCountry(countryCode, tax_country, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var county = "county_example"; // String | The county being deleted.
var tax_county = new UltraCartRestApiV2.TaxCounty(); // TaxCounty | tax county to be deleted
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.deleteTaxProviderSelfCounty(county, tax_county, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var postal_code = "postal_code_example"; // String | The postal code being deleted.
var tax_postal_code = new UltraCartRestApiV2.TaxPostalCode(); // TaxPostalCode | tax postal code to be deleted
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.deleteTaxProviderSelfPostalCode(postal_code, tax_postal_code, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var stateCode = "stateCode_example"; // String | The state code being deleted.
var tax_state = new UltraCartRestApiV2.TaxState(); // TaxState | tax state to be deleted
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.deleteTaxProviderSelfState(stateCode, tax_state, callback);
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
TaxProviderAvalara getTaxProviderAvalara()
Retrieve the Avalara tax provider
Retrieves the Avalara tax provider.
var UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTaxProviderAvalara(callback);
This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- 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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var tax_provider_avalara = new UltraCartRestApiV2.TaxProviderAvalara(); // TaxProviderAvalara | TaxProviderAvalara object
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTaxProviderAvalaraCompanies(tax_provider_avalara, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTaxProviderAvalaraTest(callback);
This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProviderSelf getTaxProviderSelf()
Retrieve the Self tax provider
Retrieves the Self tax provider.
var UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTaxProviderSelf(callback);
This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProviderSelfCountriesResponse getTaxProviderSelfCountries()
Retrieve the Self tax provider countries
Retrieves the Self tax provider countries.
var UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTaxProviderSelfCountries(callback);
This endpoint does not need any parameter.
TaxProviderSelfCountriesResponse
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- 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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var countryCode = "countryCode_example"; // String | The country code regions desired.
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTaxProviderSelfRegionsByCountryCode(countryCode, callback);
Name | Type | Description | Notes |
---|---|---|---|
countryCode | String | The country code regions desired. |
TaxProviderSelfRegionsResponse
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProviderSovos getTaxProviderSovos()
Retrieve the Sovos tax provider
Retrieves the Sovos tax provider.
var UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTaxProviderSovos(callback);
This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- 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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTaxProviderSovosTest(callback);
This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProviderTaxJar getTaxProviderTaxJar()
Retrieve the TaxJar tax provider
Retrieves the TaxJar tax provider.
var UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTaxProviderTaxJar(callback);
This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- 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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTaxProviderTaxJarTest(callback);
This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProviderUltraCart getTaxProviderUltraCart()
Retrieve the UltraCart tax provider
Retrieves the UltraCart tax provider.
var UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTaxProviderUltraCart(callback);
This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
TaxProvidersResponse getTaxProviders(opts)
Retrieve tax methods
Retrieves tax methods for this account.
var UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var 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
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getTaxProviders(opts, callback);
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: application/json
- Accept: application/json
TaxProviderActivateResult setActiveTaxProvider(providerName)
Toggle a tax provider to active
Toggle a tax provider to active.
var UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var providerName = "providerName_example"; // String | The tax provider to set active.
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.setActiveTaxProvider(providerName, callback);
Name | Type | Description | Notes |
---|---|---|---|
providerName | String | The tax provider to set active. |
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var tax_provider_avalara = new UltraCartRestApiV2.TaxProviderAvalara(); // TaxProviderAvalara | TaxProviderAvalara object
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateTaxProviderAvalara(tax_provider_avalara, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var tax_provider_self = new UltraCartRestApiV2.TaxProviderSelf(); // TaxProviderSelf | TaxProviderSelf object
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateTaxProviderSelf(tax_provider_self, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var city = "city_example"; // String | The city being updated.
var tax_city = new UltraCartRestApiV2.TaxCity(); // TaxCity | tax city to be updated
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateTaxProviderSelfCity(city, tax_city, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var countryCode = "countryCode_example"; // String | The country code being updated.
var tax_country = new UltraCartRestApiV2.TaxCountry(); // TaxCountry | tax country to be updated
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateTaxProviderSelfCountry(countryCode, tax_country, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var county = "county_example"; // String | The county being updated.
var tax_county = new UltraCartRestApiV2.TaxCounty(); // TaxCounty | tax county to be updated
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateTaxProviderSelfCounty(county, tax_county, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var postal_code = "postal_code_example"; // String | The postal code being updated.
var tax_postal_code = new UltraCartRestApiV2.TaxPostalCode(); // TaxPostalCode | tax postal code to be updated
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateTaxProviderSelfPostalCode(postal_code, tax_postal_code, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var stateCode = "stateCode_example"; // String | The state code being updated.
var tax_state = new UltraCartRestApiV2.TaxState(); // TaxState | tax state to be updated
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateTaxProviderSelfState(stateCode, tax_state, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var tax_provider_sovos = new UltraCartRestApiV2.TaxProviderSovos(); // TaxProviderSovos | TaxProviderSovos object
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateTaxProviderSovos(tax_provider_sovos, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var tax_provider_taxJar = new UltraCartRestApiV2.TaxProviderTaxJar(); // TaxProviderTaxJar | TaxProviderTaxJar object
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateTaxProviderTaxJar(tax_provider_taxJar, callback);
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 UltraCartRestApiV2 = require('ultra_cart_rest_api_v2');
// Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
var simpleKey = "109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00";
UltraCartRestApiV2.ApiClient.usingApiKey(simpleKey, false)
var apiInstance = new UltraCartRestApiV2.TaxApi();
var tax_provider_ultracart = new UltraCartRestApiV2.TaxProviderUltraCart(); // TaxProviderUltraCart | TaxProviderUltraCart object
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.updateTaxProviderUltraCart(tax_provider_ultracart, callback);
Name | Type | Description | Notes |
---|---|---|---|
tax_provider_ultracart | TaxProviderUltraCart | TaxProviderUltraCart object |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json