Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To send email to a customer, use the following request:

Panel

POST /customers/id/email

Request Parameters

...

where:

  • id (integer) is the customer ID.

...


Request JSON Objects

Valid JSON parameters include the following.

...

Code Block
PATCH /customers/1/email HTTP/1.1
Content-Type: application/json
Authorization: Bearer f794846b7c26621688e1e06164975b4eae8ce2f6

{
	"subject": "email subject",
	"body": "message content",
}

...

Status CodeDescription
200 OKActivation counters objectEmail sent.
403 ForbiddenInvalid or expired token provided.
404 Not FoundCustomer id does not exist.

...