import Whop from '@whop/sdk';
const client = new Whop({
apiKey: process.env['WHOP_API_KEY'], // This is the default and can be omitted
});
const feeMarkup = await client.feeMarkups.delete('id');
console.log(feeMarkup);trueDelete a fee markup configuration for a company. This removes the custom fee override and reverts to the parent company’s default fees.
Required permissions:
company:update_child_feesimport Whop from '@whop/sdk';
const client = new Whop({
apiKey: process.env['WHOP_API_KEY'], // This is the default and can be omitted
});
const feeMarkup = await client.feeMarkups.delete('id');
console.log(feeMarkup);trueA company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************
The unique identifier of the fee markup to delete.
A successful response
Represents true or false values.
Was this page helpful?