Modify the details of an existing addon using its unique identifier
PATCH
/
addons
/
{id}
Copy
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});
const addonResponse = await client.addons.update('id');
console.log(addonResponse.id);
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});
const addonResponse = await client.addons.update('id');
console.log(addonResponse.id);
Modify the details of an existing addon using its unique identifier
PATCH
/
addons
/
{id}
Copy
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});
const addonResponse = await client.addons.update('id');
console.log(addonResponse.id);
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});
const addonResponse = await client.addons.update('id');
console.log(addonResponse.id);