Add Sub User

Add Sub User

Purpose
Adds Sub-Users under you so that they can use various SSLStore plugin investments.

URL

  • LIVE URL:
https://api.thesslstore.com/rest/user/add
  • SANDBOX URL:
https://sandbox-wbapi.thesslstore.com/rest/user/add

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"
	},
	"CustomPartnerCode":"String content",
	"AuthenticationToken":"String content",
	"PartnerEmail":"String content"
}

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

<NewSubUserRequest>
<AuthRequest>
<PartnerCode>String content</PartnerCode>
<AuthToken>String content</AuthToken>
<ReplayToken>String content</ReplayToken>
<UserAgent>String content</UserAgent>
</AuthRequest>
<CustomPartnerCode>String content</CustomPartnerCode>
<AuthenticationToken>String content</AuthenticationToken>
<PartnerEmail>String content</PartnerEmail>
</NewSubUserRequest>

PARAMETERS
JSON :

{
	"AuthResponse":{
		"isError":true,
		"Message":["String content"],
		"Timestamp":"String content",
		"ReplayToken":"String content",
		"InvokingPartnerCode":"String content"
	},
	"PartnerCode":"String content",
	"CustomPartnerCode":"String content",
	"AuthenticationToken":"String content",
	"PartnerEmail":"String content",
	"isEnabled":true
}

XML:

<SubUserResponse>
<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>
<PartnerCode>String content</PartnerCode>
<CustomPartnerCode>String content</CustomPartnerCode>
<AuthenticationToken>String content</AuthenticationToken>
<PartnerEmail>String content</PartnerEmail>
<isEnabled>true</isEnabled>
</SubUserResponse>

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.
NewSubUserRequest.AuthenticationToken Request String This is alpha-numeric code which is sent by you to thesslstore.com in your request.
*Required for this request
NewSubUserRequest.CustomPartnerCode Request String This is alpha-numeric code of the sub user you would like to add
*Required for this request
NewSubUserRequest.PartnerEmail Request String This is sub user email which you would like to add.
*Required for this request
AuthResponse.InvokingPartnerCode Response String This is an alpha-numeric code provided to you by thesslstore.com.
AuthResponse.isError Response String 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).
SubUserResponse.AuthenticationToken Response String This is alpha-numeric code which has been sent by user at the time of request.
SubUserResponse.CustomPartnerCode Response String This is alpha-numeric code of sub user which has been sent by user at the time of request.
SubUserResponse.isEnabled Response String This is the status of the subuser which is enabled or not.
SubUserResponse.PartnerCode Response String This is alpha-numeric code of the sub user which has been added to the system.
SubUserResponse.PartnerEmail Response String This is the email of partner which has been added to the system.