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
}

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>
</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

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.
SubUserRequest.AuthenticationToken Request String This is an alpha-numeric token code provided by you to
thesslstore.com. It is required in all requests.

*Required for this request
SubUserRequest.CustomPartnerCode Request String A Number provide by you in request which is sent in response.
*Required for this request
SubUserRequest.isEnabled Request String This is status of subuser is this user enable or not
*Required for this request
SubUserRequest.PartnerCode Request String This is an alpha-numeric code of subuser provided to you
by thesslstore.com. It is required in all requests.

*Required for this request
SubUserRequest.PartnerEmail Request String This is the Email of Sub User.
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 an alpha-numeric token code provided to you by thesslstore.com
in the response to your request.
SubUserResponse.CustomPartnerCode Response String A Number provide by you in request which is sent in response.
SubUserResponse.isEnabled Response String This is status of subuser is this user enable or not
SubUserResponse.PartnerCode Response String This is an alpha-numeric code of subuser provided to you by
thesslstore.com In response to your request.
SubUserResponse.PartnerEmail Response String This is the Email of Sub User.