Setting Service

Set Order Callback

Purpose
You can set the Order callback URL, which will be called before new order is placed (either via Invite Order or New Order). This method sets the destination URL. If you set non-working URLs, new orders will stop working for you. You can set it to empty string to disable this feature.

URL

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

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"
	},
	"url":"String content"
}

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

<CallBackUrlRequest>
<AuthRequest>
<PartnerCode>String content</PartnerCode>
<AuthToken>String content</AuthToken>
<ReplayToken>String content</ReplayToken>
<UserAgent>String content</UserAgent>
</AuthRequest>
<url>String content</url>
</CallBackUrlRequest>

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.
CallBackUrlRequest.url Request String This is Callback Url which is sent by in your All request.
*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).

Set Price Callback

Purpose
Sets the Pricing CallBack URL. If the destination URL is not available, your sub-resellers will not see any pricing related responses.

URL

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

HTTP VERB
POST

PARAMETERS
JSON :

{
	"AuthRequest":{
		"PartnerCode":"String content",
		"AuthToken":"String content",
		"ReplayToken":"String content",
		"UserAgent":"String content"
	},
	"url":"String content"
}

XML:

<CallBackUrlRequest>
<AuthRequest>
<PartnerCode>String content</PartnerCode>
<AuthToken>String content</AuthToken>
<ReplayToken>String content</ReplayToken>
<UserAgent>String content</UserAgent>
</AuthRequest>
<url>String content</url>
</CallBackUrlRequest>

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.
AuthRequest.PartnerCode Request String This is an alpha-numeric code provided to you by
thesslstore.com.
It is required in all requests.
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.
CallBackUrlRequest.url Request String This is Callback Url which is sent by in your All request.
*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).
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).

Set Cancel Notfication

Purpose
Sets Cancelnotification.

URL

https://sandbox-wbapi.thesslstore.com/setting/cancelnotification

HTTP VERB
POST

PARAMETERS
JSON :

{
	"AuthRequest":{
		"PartnerCode":"String content",
		"AuthToken":"String content",
		"ReplayToken":"String content",
		"UserAgent":"String content"
	},
	"url":"String content"
}

XML:

<CallBackUrlRequest>
<AuthRequest>
<PartnerCode>String content</PartnerCode>
<AuthToken>String content</AuthToken>
<ReplayToken>String content</ReplayToken>
<UserAgent>String content</UserAgent>
</AuthRequest>
<url>String content</url>
</CallBackUrlRequest>

RESPONSE
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.
CallBackUrlRequest.url Request String This is Callback Url which is sent by in your All request.
*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).

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 :

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

XML:

<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).