createTaxProcessor

post

/ccadmin/v1/taxProcessors

Create Tax Processor. Creates a new tax processor of given type and input params.

Request

Supported Media Types
Body ()
Root Schema : createTaxProcessor_request
Type: object
Show Source
Example:
{
    "country":"US",
    "city":"alabama",
    "defaultTaxRate":6,
    "postalCode":"454455",
    "type":"avalara",
    "enabled":true,
    "url":"https://development.avalara.net/1.0/tax/get",
    "password":"asbde",
    "fallbackEnabled":false,
    "merchantId":"333",
    "addressLine1":"abc",
    "addressLine2":"abc",
    "region":"al",
    "showTaxSummary":true,
    "username":"Karna"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : createTaxProcessor_response
Type: object
Show Source
Example Response (application/json)
{
    "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| |------------------|------------------| |500|If required property is missing, invalid or is assigned null value.| |35002|If there is internal error while creating tax processor.| |40007|If active tax processor already exists.|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top