Skip to main content
PUT
/
brands
/
{id}
/
images
JavaScript
import DodoPayments from 'dodopayments';

const client = new DodoPayments({
  bearerToken: 'My Bearer Token',
});

const response = await client.brands.updateImages('id');

console.log(response.image_id);
{
  "image_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Brand Id

Response

200 - application/json

Generate presigned upload URL for brand image

image_id
string<uuid>
required

UUID that will be used as the image identifier/key suffix

url
string
required

Presigned URL to upload the image