TaxJar credentials

Retrieve a list of TaxJar credentials

Retrieve a list of TaxJar credentials.

Request
Security:
query Parameters
filter
string

The collection items filter requires a special format. Use "," for multiple allowed values. Use ";" for multiple fields. See the filter guide for more options and examples about this format.

limit
integer [ 0 .. 1000 ]

The collection items limit.

offset
integer >= 0

The collection items offset.

sort
Array of strings

The collection items sort field and order (prefix with "-" for descending sort).

q
string

The partial search of the text fields.

header Parameters
Organization-Id
string (ResourceId) <= 50 characters
Deprecated

Organization identifier in scope of which need to perform request (if not specified, the default organization will be used).

It is deprecated. Use servers with /organizations/{organizationId} base path instead.

Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21
Responses
200

A list of TaxJar credentials was retrieved successfully.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden.

get/credential-hashes/taxjar
Request samples
curl -i -X GET \
  'https://api-sandbox.rebilly.com/organizations/unknown/credential-hashes/taxjar?filter=string&limit=1000&offset=0&sort=string&q=string' \
  -H 'Organization-Id: 4f6cf35x-2c4y-483z-a0a9-158621f77a21' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'
Response samples
application/json
[
  • {
    }
]

Create a TaxJar credential

Create a TaxJar credential.

Request
Security:
header Parameters
Organization-Id
string (ResourceId) <= 50 characters
Deprecated

Organization identifier in scope of which need to perform request (if not specified, the default organization will be used).

It is deprecated. Use servers with /organizations/{organizationId} base path instead.

Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21
Request Body schema: application/json

TaxJar credential resource.

status
string

The credential status.

Enum: "active" "deactivated"
apiToken
required
string <password>

TaxJar API token.

Responses
201

TaxJar credential was created.

303

An existent TaxJar credential was retrieved.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden.

422

Invalid data was sent.

post/credential-hashes/taxjar
Request samples
application/json
{
  • "status": "active",
  • "apiToken": "0ab15e3c1cc608b6f592fbddaddeb8f2"
}
Response samples
application/json
{
  • "hash": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
  • "status": "active",
  • "deactivationTime": "2019-08-24T14:15:22Z",
  • "apiToken": "0ab15e3c1cc608b6f592fbddaddeb8f2",
  • "_links": [
    ]
}

Retrieve a TaxJar credential

Retrieve a TaxJar credential with specified token identifier string.

Request
Security:
path Parameters
hash
required
string

The token identifier string.

header Parameters
Organization-Id
string (ResourceId) <= 50 characters
Deprecated

Organization identifier in scope of which need to perform request (if not specified, the default organization will be used).

It is deprecated. Use servers with /organizations/{organizationId} base path instead.

Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21
Responses
200

TaxJar credential was retrieved successfully.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden.

404

Resource was not found.

get/credential-hashes/taxjar/{hash}
Request samples
curl -i -X GET \
  https://api-sandbox.rebilly.com/organizations/unknown/credential-hashes/taxjar/:hash \
  -H 'Organization-Id: 4f6cf35x-2c4y-483z-a0a9-158621f77a21' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "hash": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
  • "status": "active",
  • "deactivationTime": "2019-08-24T14:15:22Z",
  • "apiToken": "0ab15e3c1cc608b6f592fbddaddeb8f2",
  • "_links": [
    ]
}

Update a TaxJar credential

Update a TaxJar credential with specified token identifier string.

Request
Security:
path Parameters
hash
required
string

The token identifier string.

header Parameters
Organization-Id
string (ResourceId) <= 50 characters
Deprecated

Organization identifier in scope of which need to perform request (if not specified, the default organization will be used).

It is deprecated. Use servers with /organizations/{organizationId} base path instead.

Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21
Request Body schema: application/json

TaxJar credential resource.

status
required
string

The credential status.

Value: "deactivated"
Responses
200

TaxJar credential was updated successfully.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden.

404

Resource was not found.

422

Invalid data was sent.

patch/credential-hashes/taxjar/{hash}
Request samples
application/json
{
  • "status": "deactivated"
}
Response samples
application/json
{
  • "hash": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
  • "status": "active",
  • "deactivationTime": "2019-08-24T14:15:22Z",
  • "apiToken": "0ab15e3c1cc608b6f592fbddaddeb8f2",
  • "_links": [
    ]
}