- Getting Started
- Endpoints
- Authentication
- Customers
- Exemptions
- Transactions
- Files
- Address Validation
- Sales Tax Rates
- Vat Validation
- Special Features
Update Exemption
POST
/v1/exemptions
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
exemption
object
required
customerId
string
required
state
object
required
classification
object
required
validationDates
object
required
status
object
required
certificate
object
required
exemptionType
string
required
states
array [object {3}]
required
abbreviation
string
required
code
string
required
name
string
required
Example
{
"exemption": {
"customerId": "{{customerComplytId}}",
"country": "USA",
"exemptionStatus": "ACTIVE",
"state": {
"abbreviation": "abbreviationPlaceHolder",
"code": "codePlaceHolder",
"name": "namePlaceHolder"
},
"classification": {
"code": "code",
"description": "description"
},
"validationDates": {
"fromDate": "1990-01-01T03:40:59",
"toDate": "2050-01-01T03:40:59"
},
"status": {
"code": "code",
"name": "name"
},
"certificate": {
"certificateId": "id",
"url": "url",
"name": "name"
},
"exemptionType": "FULLY"
},
"states": [
{
"abbreviation": "AZ",
"code": "04",
"name": "Arizona"
},
{
"abbreviation": "CA",
"code": "04",
"name": "California"
},
{
"abbreviation": "NY",
"code": "04",
"name": "New York"
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/exemptions' \
--header 'Content-Type: application/json' \
--data-raw '{
"exemption": {
"customerId": "{{customerComplytId}}",
"country": "USA",
"exemptionStatus": "ACTIVE",
"state": {
"abbreviation": "abbreviationPlaceHolder",
"code": "codePlaceHolder",
"name": "namePlaceHolder"
},
"classification": {
"code": "code",
"description": "description"
},
"validationDates": {
"fromDate": "1990-01-01T03:40:59",
"toDate": "2050-01-01T03:40:59"
},
"status": {
"code": "code",
"name": "name"
},
"certificate": {
"certificateId": "id",
"url": "url",
"name": "name"
},
"exemptionType": "FULLY"
},
"states": [
{
"abbreviation": "AZ",
"code": "04",
"name": "Arizona"
},
{
"abbreviation": "CA",
"code": "04",
"name": "California"
},
{
"abbreviation": "NY",
"code": "04",
"name": "New York"
}
]
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-07-11 12:01:17