URL:
https://www.protexting.com/features2/web/api/v1/amazon-validate-order/validate?access_token=your_access_token
Method:
POST
* 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 |
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"}'
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
[ "Amazon Order successfully added for validation" ]
<response> Amazon Order successfully added for validation </response>
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 and Examples here