JavaScript
import Whop from '@whop/sdk'; const client = new Whop({ apiKey: 'My API Key', }); const product = await client.products.delete('prod_xxxxxxxxxxxxx'); console.log(product);
true
Deletes an existing Product
Required permissions:
access_pass:delete
The app API key from an app from the /dashboard/developer page
The internal ID (tag) of the product to delete.
"prod_xxxxxxxxxxxxx"
A successful response
Represents true or false values.
false
Was this page helpful?