API Reference
- Addresses
- Attachments
- Calls
- Contacts
- Credit Applications
- Customers
- Deals
- Definitions
- DMV Fees
- Documents
- Fees
- Holidays
- Insurance Policies
- Insurance Quotes
- Leads
- Lead Events
- Listings
- Locations
- Logs
- Meetings
- Messages
- Pre-Approvals
- Sales Reps
- Searches
- Service Quotes
- Service Orders
- Taxes And Fees
- GETFind paginated Taxes And Fees
- POSTCreate a new Taxes And Fee
- DELDelete multiple Taxes And Fees
- PATCHUpdate multiple Taxes And Fees
- GETGet a single Taxes And Fee by its id
- DELDeletes an existing Taxes And Fee
- PATCHUpdates a Taxes And Fee
- GETTaxes And Fee versions
- GETGet a single Taxes And Fee version by its id
- POSTRestore a Taxes And Fee version by its id
- GET
- Templates
- CRM Trades
- Trades
- VDP Emails
- CRM Vehicles
- Vehicles
- Web Events
- Webhooks
Taxes And Fees
Create a new Taxes And Fee
Create a new Taxes And Fee
POST
/
taxesAndFees
Copy
curl --request POST \
--url https://commerce.driv.ly/api/taxesAndFees \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"salesPrice": "<string>",
"totalTaxesAndFees": "<string>",
"CombinedSalesTax": "<string>",
"shippingCost": "<string>",
"stateSalesTax": "<string>",
"gasGuzzlerTax": "<string>",
"titleFee": "<string>",
"registrationFee": "<string>",
"dmvFee": "<string>",
"dmvFees": [
123
],
"docFee": "<string>",
"combinedFees": "<string>",
"deals": [
123
],
"tenant": 123,
"createdBy": 123,
"updatedAt": "<string>",
"createdAt": "<string>"
}'
Copy
{
"doc": {
"salesPrice": "<string>",
"totalTaxesAndFees": "<string>",
"CombinedSalesTax": "<string>",
"shippingCost": "<string>",
"stateSalesTax": "<string>",
"gasGuzzlerTax": "<string>",
"titleFee": "<string>",
"registrationFee": "<string>",
"dmvFee": "<string>",
"dmvFees": [
123
],
"docFee": "<string>",
"combinedFees": "<string>",
"deals": [
123
],
"tenant": 123,
"createdBy": 123,
"updatedAt": "<string>",
"createdAt": "<string>"
},
"message": "<string>"
}
Usage with the Drivly SDK
Usage with the Drivly SDK
Make sure you install our SDK first. You can find out how, and more here.
Copy
import { SDK } from '@drivly/commerce'
import type { taxesAndFees } from '@drivly/commerce'
const sdk = new SDK(...)
const taxesAndFees = await sdk.taxesAndFees.create(data: taxesAndFees): Promise<taxesAndFees>
Authorizations
Query Parameters
number of levels to automatically populate relationships and uploads
retrieves document(s) in a specific locale
specifies a fallback locale if no locale value exists
Body
application/json
Response
200 - application/json
ok
The response is of type object
.
Copy
curl --request POST \
--url https://commerce.driv.ly/api/taxesAndFees \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"salesPrice": "<string>",
"totalTaxesAndFees": "<string>",
"CombinedSalesTax": "<string>",
"shippingCost": "<string>",
"stateSalesTax": "<string>",
"gasGuzzlerTax": "<string>",
"titleFee": "<string>",
"registrationFee": "<string>",
"dmvFee": "<string>",
"dmvFees": [
123
],
"docFee": "<string>",
"combinedFees": "<string>",
"deals": [
123
],
"tenant": 123,
"createdBy": 123,
"updatedAt": "<string>",
"createdAt": "<string>"
}'
Copy
{
"doc": {
"salesPrice": "<string>",
"totalTaxesAndFees": "<string>",
"CombinedSalesTax": "<string>",
"shippingCost": "<string>",
"stateSalesTax": "<string>",
"gasGuzzlerTax": "<string>",
"titleFee": "<string>",
"registrationFee": "<string>",
"dmvFee": "<string>",
"dmvFees": [
123
],
"docFee": "<string>",
"combinedFees": "<string>",
"deals": [
123
],
"tenant": 123,
"createdBy": 123,
"updatedAt": "<string>",
"createdAt": "<string>"
},
"message": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.