Validate Amazon Order


URL:

https://www.protexting.com/features2/web/api/v1/amazon-validate-order/validate?access_token=your_access_token


Method:

POST

Request parameters:

 required parameters

Parameter Description
Message
Message containing Amazon Order Id in a valid format 333-7777777-7777777
Number
Valid mobile phone number including country code

Example Request:

curl -i -H "Accept:application/json" -H "Content-Type:application/json" -XPOST "https://www.protexting.com/features2/web/api/v1/amazon-validate-order/validate?access_token=your_access_token" -d '{"Message":"111-1234567-1234567", "Number":"16461234567"}'

 

Example Response Headers:

Status Code: 200
Cache-Control: no-store, no-cache, must-revalidate
Content-Type: application/json; charset=UTF-8
Pragma: no-cache
X-Rate-Limit-Limit: 60
X-Rate-Limit-Remaining: 59
X-Rate-Limit-Reset

Example Response Body:

[
    "Amazon Order successfully added for validation"
]
		
<response>
    Amazon Order successfully added for validation
</response>

 

HTTP Status Codes:

The standard HTTP Status Codes are used. More information is available here: http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml

Error Codes:

Error Codes and Examples here