hornet icon

hornet

Interact with hornet API

Actions452

Email Information → Email Information Put

AI-generated

Summary

Updates email information for a specified object (user, customer, or partner) via a PUT request to the Hornet API.

Inputs

  • object_id (required) — The ID of the object (user, customer, or partner) whose email information is being updated. Sent as a query parameter (object_id).
  • APP-ID (required) — Application identifier issued by Hornet. Sent in the request header (APP-ID).
  • partnername (required) — Partner name used in email templates. Sent in the request body (partnername).
  • email_sender (required) — Email address used as the sender. Sent in the request body (email_sender).
  • email_sender_name — Display name for the email sender. Sent in the request body (email_sender_name).
  • contact (required) — Contact information associated with the object. Sent in the request body (contact).
  • disclaimer_line_1 — First line of the email disclaimer. Sent in the request body (disclaimer_line_1).
  • disclaimer_line_2 — Second line of the email disclaimer. Sent in the request body (disclaimer_line_2).
  • disclaimer_line_3 — Third line of the email disclaimer. Sent in the request body (disclaimer_line_3).

Output shape

JSON response from the Hornet API after the PUT request.

The exact response structure depends on the API implementation; typically includes a status and possibly updated data.

Examples

Example 1: Update email sender details for a customer with ID 12345.

Set object_id to 12345, provide APP-ID header, and fill required body fields (partnername, email_sender, contact). Optional fields such as email_sender_name and disclaimer lines can be added as needed.

Links

Discussion