Home > @3rdweb/sdk > IMarketplace > cancelDirectListing
Cancels a direct listing by updating the quantity to be sold to 0.
Signature:
cancelDirectListing(listingId: BigNumberish): Promise<void>;
| Parameter | Type | Description |
|---|---|---|
| listingId | BigNumberish | Id of the listing to remove. |
Returns:
Promise<void>