cURL
curl --request POST \ --url https://commerce.driv.ly/api/taxesAndFees \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "updatedAt": "<string>", "createdAt": "<string>", "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 } '
{ "doc": { "updatedAt": "<string>", "createdAt": "<string>", "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 }, "message": "<string>" }
Create a new Taxes And Fee
Usage with the Drivly SDK
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>
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
ok
Show child attributes