Set Email Templates

Set Email Templates

Purpose
From here you can set the Email Subject and Content for renewals etc. This will be the email that will be sent to the customer using your SMTP settings from thesslstore.com RESELLER dashboard.

URL

  • LIVE URL:
https://api.thesslstore.com/rest/setting/settemplate
  • SANDBOX URL:
https://sandbox-wbapi.thesslstore.com/rest/setting/settemplate

HTTP VERB
POST

PARAMETERS
JSON :
Content-type: application/json; charset=utf-8;

{
	"AuthRequest":{
		"PartnerCode":"String content",
		"AuthToken":"String content",
		"ReplayToken":"String content",
		"UserAgent":"String content"
	},
	"EmailSubject":"String content",
	"EmailMessage":"String content",
	"isDisabled":true,
	"ReminderTemplateDays":0
}

XML:
Content-type: application/xml; charset=utf-8;

<ReminderTemplateRequest>
<AuthRequest>
<PartnerCode>String content</PartnerCode>
<AuthToken>String content</AuthToken>
<ReplayToken>String content</ReplayToken>
<UserAgent>String content</UserAgent>
</AuthRequest>
<EmailSubject>String content</EmailSubject>
<EmailMessage>String content</EmailMessage>
<isDisabled>true</isDisabled>
<ReminderTemplateDays>before90days</ReminderTemplateDays>
</ReminderTemplateRequest>

PARAMETERS
JSON :

{
	"isError":true,
	"Message":["String content"],
	"Timestamp":"String content",
	"ReplayToken":"String content",
	"InvokingPartnerCode":"String content"
}

XML:

<AuthResponse>
<isError>true</isError>
<Message>
<string>String content</string>
<string>String content</string>
</Message>
<Timestamp>String content</Timestamp>
<ReplayToken>String content</ReplayToken>
<InvokingPartnerCode>String content</InvokingPartnerCode>
</AuthResponse>

Fields Explanation

NAME FROM Type Description
AuthRequest.AuthToken Request String This is an alpha-numeric token code provided to you by thesslstore.com. It is required in all requests.
*Required for this request
AuthRequest.PartnerCode Request String This is an alpha-numeric code provided to you by thesslstore.com. It is required in all requests.
*Required for this request
AuthRequest.ReplayToken Request String This is an alpha-numeric code provided by you in order request and thesslstore.com sent back in request.
AuthRequest.UserAgent Request String Browser’s user agent value provided by you for specific order.
ReminderTemplateRequest.EmailMessage Request String Whole message of the Template
*Required for this request
ReminderTemplateRequest.EmailSubject Request String This is Subject of Email Template
*Required for this request
ReminderTemplateRequest.isDisabled Request Boolean Status this email template is Enabled or not
*Required for this request
ReminderTemplateRequest.ReminderTemplateDays Request String Total days remider for email template Supported Values:
reminderbefore90days = 0,
reminderbefore60days = 1,
reminderbefore30days = 2,
reminderbefore7days = 3,
reminderafter7days = 4,
enrollmentlink=5

*Required for this request
AuthResponse.InvokingPartnerCode Response String This is an alpha-numeric code provided to you by thesslstore.com.
AuthResponse.isError Response Boolean Return true if any error occurred during Order processing.
AuthResponse.ReplayToken Response String The value of the ReplayToken which provide by you in Order request.
AuthResponse.Timestamp Response String A date timestamp used in a variety of contexts. Note that the XML format is: YYYY-DD-MMTHH:MM:SS:000Z (for example, 2001-01-01T24:00:00:000Z is for Jan 1, 2001 at midnight).