#I need to change the website on my brand asap, the current one was an error from my clipboard.

1 messages · Page 1 of 1 (latest)

crystal elm
#

I need to change the website on my brand asap, the current one was an error from my clipboard.

ornate notchBOT
#

To change the website URL associated with your brand in Dodo Payments, you will need to update the brand's information via the API. Here’s how you can do it:

  1. Prepare the API Request:

    • You need to use the PATCH method to update the brand details.
    • The endpoint to update a brand is /brands/{id} where {id} is your brand's unique identifier.
  2. Set Up Your Request:

    • Use your API client to authenticate and make the request.
    • Ensure you have the correct bearer token for authentication.
  3. Update the Brand Information:

    • In the request body, specify the new website URL and any other details you need to update.

    • Here is an example using JavaScript:

      import DodoPayments from 'dodopayments';
      
      const client = new DodoPayments({
        bearerToken: 'Your Bearer Token',
      });
      
      const brandId = 'your_brand_id';
      const updateParams = {
        website: 'https://newwebsite.com'
      };
      
      client.brands.update(brandId, updateParams)
        .then(response => console.log(response))
        .catch(error => console.error(error));
      
  4. Execute the Request:

    • Send the request and handle the response to ensure the update was successful.
    • Check the returned data to verify that the website URL has been updated correctly.

If you encounter any issues or if the primary brand cannot be updated via the API, you might need to contact support for further assistance.

Helpful Links

Dodo Payments Documentation

The complete payments & billing platform for SaaS, AI, and digital products. Accept payments globally, set up flexible billing models, and monetize your product in minutes - all without building your own infrastructure.

Dodo Payments Documentation

List all brands.

crystal elm
#

not helpful

marble nacelle
#

@crystal elm -

We don’t allow changing the Brand URL once it is created. Even if the URL is incorrect, it will not impact your setup or functionality.

sudden veldt