Batch

The Batch object represents an email being sent to a specific category and multiple contacts.

This object contains the following attributes:

Field
Type
Description

id

string

A primary identifier for the batch.

Example: MST-1234-9876-3333

href

string

A relative reference to the object.

Example: /v1/notifications/batches/MST-1234-9876-3333

category

Example:

account

A reference to the Account object.

subject

string

The subject line for the email.

Example: Check out the new service offering

body

string

The body of the message.

attachments

attachment

Example:

Example

{
  "id": "MST-1234-9876-3333",
  "href": "/v1/notifications/batches/MST-1234-9876-3333",
  "category": {
    "id": "NTC-1234-9876",
    "href": "/v1/notifications/categories/NTC-1234-9876",
    "name": "Orders",
    "shortDescription": "Includes updates about order confirmations, order status updates, and related communications."
  },
  "account": {
    "id": "ACC-5131-0044",
    "href": "/accounts/accounts/ACC-5131-0044",
    "type": "Client",
    "status": "Active",
    "name": "SURFMARKET BV"
  },  
  "subject": "Order published",
  "body": "<b>Hello</b>",
}

Last updated

Was this helpful?