listTaxProcessors
get
/ccadmin/v1/taxProcessors
List Tax Processors. Get a list of tax processors.
Request
Supported Media Types
- application/json
Query Parameters
- type
-
Type:
stringRequired:trueIf set, only returns tax processor accounts of given tax processor type.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : listTaxProcessors_response
- items
-
Type:
arrayitemsAdditional Properties Allowed:The list of tax processors.
Nested Schema : items
Nested Schema : items
Type:
object- addressLine1
-
Type:
stringAddress Line 1. - addressLine2
-
Type:
stringAddress Line 2. - addressLine3
-
Type:
stringAddress Line 3. - city
-
Type:
stringCity name. - country
-
Type:
stringCountry Name. - defaultTaxRate
-
Type:
numberIndicates the tax rate used in case of fallback - fallbackEnabled
-
Type:
booleanIndicates whether fallback tax calculation is enabled in case of failures - hasPassword
-
Type:
booleanIndicates whether password is set or not. - isActive
-
Type:
booleanStatus if tax account is active. - merchantId
-
Type:
stringUnique identifier of merchant. - postalCode
-
Type:
stringPostal code. - region
-
Type:
stringRegion or State name. - repositoryId
-
Type:
stringThe ID of the tax processor item. - showTaxSummary
-
Type:
booleanwhether to show tax summary or not - type
-
Type:
stringName of the tax processor used. - url
-
Type:
stringUrl of tax processor rest endpoint. - username
-
Type:
stringRegistered username with tax processor.
Example application/json
[
{
"country":null,
"city":null,
"defaultTaxRate":6,
"postalCode":null,
"hasPassword":false,
"isActive":null,
"type":"avalara",
"enabled":false,
"url":null,
"fallbackEnabled":false,
"merchantId":null,
"addressLine1":null,
"region":null,
"showTaxSummary":true,
"username":null
},
{
"country":"US",
"city":"alabama",
"defaultTaxRate":6,
"postalCode":"454455",
"hasPassword":true,
"type":"avalara",
"enabled":true,
"url":"https://development.avalara.net/1.0/tax/get",
"fallbackEnabled":false,
"merchantId":"333",
"addressLine1":"abc",
"addressLine2":"abc",
"region":"al",
"showTaxSummary":true,
"username":"Karna"
}
]
Default Response
The error response.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|35003|If there is internal error while getting tax processor.|
|35001|If no tax processor found with the given ID.|
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Response Payload returned by endpoint:
[
{
"country": null,
"city": null,
"defaultTaxRate": 6,
"postalCode": null,
"hasPassword": false,
"isActive": null,
"type": "avalara",
"enabled": false,
"url": null,
"fallbackEnabled": false,
"merchantId": null,
"addressLine1": null,
"region": null,
"showTaxSummary": true,
"username": null
},
{
"country": "US",
"city": "alabama",
"defaultTaxRate": 6,
"postalCode": "454455",
"hasPassword": true,
"type": "avalara",
"enabled": true,
"url": "https://development.avalara.net/1.0/tax/get",
"fallbackEnabled": false,
"merchantId": "333",
"addressLine1": "abc",
"addressLine2": "abc",
"region": "al",
"showTaxSummary": true,
"username": "Karna"
}
]