Cakemail icon

Cakemail

Interact with Cakemail API

Sub-Account → Update

AI-generated

Summary

Update a sub-account's details in Cakemail.

Inputs

  • accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
  • subAccountId (required) — ID of the sub-account.
  • updateFields (required) — Fields to update in the sub-account, such as company name, email, first name, last name, phone, address, city, province/state, postal code, country, language, and timezone.

Output shape

no body — success/failure only

The operation returns a success message or an error if the update fails.

Examples

Example 1: Updating a sub-account's email and company name.

Set 'subAccountId' to the ID of the sub-account to update, and in 'updateFields', provide 'companyName' and 'email'.

Discussion