Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Product Id
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
bearerToken: 'My Bearer Token',
});
const image = await client.products.images.update('id');
console.log(image.image_id);
{
"image_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
}
Update a product’s images.
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
bearerToken: 'My Bearer Token',
});
const image = await client.products.images.update('id');
console.log(image.image_id);
{
"image_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Product Id
Was this page helpful?