Deactivate Sub User

Purpose
Deactivates the sub-user. Once deactivated, your sub-user will not be able to place orders.

LIVE URL:

https://api.thesslstore.com/rest/user/deactivate

SANDBOX URL:

https://sandbox-wbapi.thesslstore.com/rest/user/deactivate

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

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

<SubUserRequest>
<AuthRequest>
<PartnerCode>String content</PartnerCode>
<AuthToken>String content</AuthToken>
<ReplayToken>String content</ReplayToken>
<UserAgent>String content</UserAgent>
</AuthRequest>
<PartnerCode>String content</PartnerCode>
<CustomPartnerCode>String content</CustomPartnerCode>
<AuthenticationToken>String content</AuthenticationToken>
<PartnerEmail>String content</PartnerEmail>
<isEnabled>true</isEnabled>
<SubUserID>String content</SubUserID>
</SubUserRequest>

PARAMETERS
JSON :

{
	"AuthRequest":{
		"PartnerCode":"String content",
		"AuthToken":"String content",
		"ReplayToken":"String content",
		"UserAgent":"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
• R – Required
• O – Optional
• I – Ignore (not applicable)

NAME FROM Field Req. Type Description
AuthRequest.AuthToken Request R String This is an alpha-numeric token code provided to you by thesslstore.com. It is required in all requests.
AuthRequest.PartnerCode Request R String This is an alpha-numeric code provided to you by thesslstore.com. It is required in all requests.
AuthRequest.ReplayToken Request O String This is an alpha-numeric code provided by you in order request and thesslstore.com sent back in request.
AuthRequest.UserAgent Request O String User Agent to identify the request coming from.
SubUserRequest.AuthenticationToken Request R String This is an alpha-numeric token code provided by you to thesslstore.com. It is required in all requests.
SubUserRequest.CustomPartnerCode Request R String A Number provide by you in request which is sent in response.
SubUserRequest.isEnabled Request R Boolean This is status of subuser is this user enable or not. There are only two possible values true or false.
SubUserRequest.PartnerCode Request R String This is an alpha-numeric code of subuser provided to you by thesslstore.com. It is required in all requests.
SubUserRequest.PartnerEmail Request O String This is the Email of Sub User.
AuthResponse.InvokingPartnerCode Response N/A String This is an alpha-numeric code provided to you by thesslstore.com.
AuthResponse.isError Response N/A Boolean Return true if any error occurred during Order processing.
AuthResponse.ReplayToken Response N/A String The value of the ReplayToken which provide by you in Order request.
AuthResponse.Timestamp Response N/A String The Date and time when user gets the response. 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 N/A String This is an alpha-numeric token code provided to you by thesslstore.com in the response to your request.
SubUserResponse.CustomPartnerCode Response N/A String A Number provide by you in request which is sent in response.
SubUserResponse.isEnabled Response N/A Boolean This is status of subuser is this user enable or not. There are only two possible values true or false.
SubUserResponse.PartnerCode Response N/A String This is an alpha-numeric code of subuser provided to you by thesslstore.com in response to your request.
SubUserResponse.PartnerEmail Response N/A String This is the Email of Sub User.