Deletes a price quote by ID.
The deletePriceQuote()
function returns a Promise that resolves
when the price quote with the specified ID is deleted.
function deletePriceQuote(id: string): Promise<void>;
ID of the price quote to delete.
import { Permissions, webMethod } from "wix-web-module";
import { priceQuotes } from "wix-billing-backend";
export const deletePriceQuote = webMethod(Permissions.Anyone, (id) => {
return priceQuotes.deletePriceQuote(id);
});
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.