cURL
curl --request DELETE \ --url https://commerce.driv.ly/api/taxesAndFees/{id} \ --header 'Authorization: <api-key>'
{ "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>" }
Deletes an existing 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.delete(taxesAndFeesId: string): Promise<void>
id of the Taxes And Fee
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