Search...
deletePriceQuote( )
Deletes a price quote by ID.
Description
The deletePriceQuote()
function returns a Promise that resolves
when the price quote with the specified ID is deleted.
Syntax
function deletePriceQuote(id: string): Promise<void>
deletePriceQuote Parameters
NAME
TYPE
DESCRIPTION
id
string
ID of the price quote to delete.
Returns
Fulfilled - When the specified price quote is deleted.
Return Type:
Promise<void>
Was this helpful?
Delete a price quote by ID
Copy Code
1import { Permissions, webMethod } from 'wix-web-module';2import { priceQuotes } from 'wix-billing-backend';34export const deletePriceQuote = webMethod(Permissions.Anyone, (id) => {5 return priceQuotes.deletePriceQuote(id);6});