Request
Endpoint: !modifyThirdPartyDetails
https://secure.trust-provider.com/products/!modifyThirdPartyDetails
Use the POST method for this endpoint.
Submit parameters in the x-www-form-urlencoded format.
Request parameters
The following table lists the required and optional parameters.
| Parameter | Requirement | Type | Max.Length | Description |
|---|---|---|---|---|
|
required |
string |
64 chars |
Your account username. This value is case sensitive. |
|
required |
string |
128 chars |
Your account password. This value is case sensitive. |
|
required |
integer |
The order number to modify. |
|
|
required |
integer |
The supported values are:
|
|
|
optional |
string |
50 chars |
The login name for the HackerGuardian products. |
|
required |
string |
50 chars |
The company name for HackerGuardian products. |
|
optional |
string |
50 char |
The username for the CodeGuard products. |
|
optional |
string |
50 chars |
The email for the CodeGuard products. |
|
required |
string |
The possible values are:
|
|
|
optional |
string |
The possible values are:
This parameter is only relevant for SiteLock products. |
Sample request
curl --location 'https://secure.trust-provider.com/products/!modifyThirdPartyDetails' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'loginName=login_name' \
--data-urlencode 'loginPassword=login_password' \
--data-urlencode 'product=product_code' \
--data-urlencode 'orderNumber=order_number' \
--data-urlencode 'action=CANCELLICENCE'
curl --location 'https://secure.trust-provider.com/products/!modifyThirdPartyDetails' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'loginName=login_name' \
--data-urlencode 'loginPassword=login_password' \
--data-urlencode 'product=product_code' \
--data-urlencode 'orderNumber=341' \
--data-urlencode 'qualysLoginName=qualys_login_name'
Response
The request is successful when the server returns a response with the error code 0.
Any errorCode less than 0 indicates an error condition and the errorMessage provides more details.
Submit parameters in the x-www-form-urlencoded format.
Response parameters
The response may contain the following parameters:
| Parameter | Description |
|---|---|
|
A numeric code that identifies the type of the error. For more information, see Error codes. |
|
A description of the error. |
Error codes
The following table outlines error responses returned by the modifyThirdPartyDetails API endpoint.
Each error response consists of an errorCode and an errorMessage indicating why the request failed.
| Error Code | Error Message | Description |
|---|---|---|
|
|
The request must use HTTPS protocol. |
|
|
The provided argument is not recognized. |
|
|
The required argument is missing from the request. |
|
|
The argument value does not meet validation requirements. |
|
|
An unknown error occurred. |
|
|
The user does not have permission for the requested context. |
|
|
The request method should be |
|
|
The API call limit has been reached. |