Javascript
import DodoPayments from 'dodopayments'; const client = new DodoPayments({ bearerToken: 'My Bearer Token', }); const addonResponse = await client.addons.update('id'); console.log(addonResponse.id);
{ "business_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "currency": "AED", "description": "<string>", "id": "<string>", "image": "<string>", "name": "<string>", "price": 123, "tax_category": "digital_products", "updated_at": "2023-11-07T05:31:56Z" }
Modify the details of an existing addon using its unique identifier
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Addon Id
Patch update an addon
The response is of type object.
object
Was this page helpful?