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 {priceQuotes} from 'wix-billing-backend';
2
3export function deletePriceQuote(id) {
4 return priceQuotes.deletePriceQuote(id);
5}