Bilder für ein vorhandenes Addon aktualisieren
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});
const response = await client.addons.updateImages('id');
console.log(response.image_id);{
"image_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
}War diese Seite hilfreich?
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});
const response = await client.addons.updateImages('id');
console.log(response.image_id);{
"image_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
}