Skip to main content
PATCH
/
taxesandfees
/
{id}
Update existing Taxes & Fees
curl --request PATCH \
  --url https://commerce.driv.ly/api/taxesandfees/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "docFee": 123,
  "registrationFee": 123,
  "titleFee": 123,
  "gasGuzzlerTax": 123,
  "stateSalesTax": 123,
  "deal": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "docFee": 123,
    "registrationFee": 123,
    "titleFee": 123,
    "gasGuzzlerTax": 123,
    "stateSalesTax": 123,
    "deal": "<string>"
  },
  "success": true
}

Path Parameters

id
string
required

Taxes & Fees is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json
id
string

Taxes & Fees is uniquely identified by id

docFee
number

Taxes & Fees includes Doc Fee

Must be a multiple of 0.01
registrationFee
number

Taxes & Fees includes Registration Fee

Must be a multiple of 0.01
titleFee
number

Taxes & Fees includes Title Fee

Must be a multiple of 0.01
gasGuzzlerTax
number

Taxes & Fees includes Gas Guzzler Tax

Must be a multiple of 0.01
stateSalesTax
number

Taxes & Fees includes State Sales Tax

Must be a multiple of 0.01
deal

Deal has Taxes & Fees

Response

Taxes & Fees Updated

data
Taxes & Fees · object
success
boolean