deletePriceQuote( )


Deletes a price quote by ID.

The deletePriceQuote() function returns a Promise that resolves when the price quote with the specified ID is deleted.

Method Declaration
Copy
function deletePriceQuote(id: string): Promise<void>;
Method Parameters
idstringRequired

ID of the price quote to delete.

Delete a price quote by ID
JavaScript
import { Permissions, webMethod } from "wix-web-module"; import { priceQuotes } from "wix-billing-backend"; export const deletePriceQuote = webMethod(Permissions.Anyone, (id) => { return priceQuotes.deletePriceQuote(id); });
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?