If you are using our Supplier fraud product you should send Ravelin details of your suppliers.
Those details should include:
To send Ravelin supplier details you should use the Supplier endpoint API. We strongly recommend at least sending all fields marked as important in the documentation. The more fields you can populate the better our predictions will be.
Here is an example of supplier details:
POST https://api.ravelin.com/v2/supplier HTTP/1.1
Authorization: token ...
Content-Type: application/json
{
"timestamp": 1512828988826,
"supplier": {
"supplierId": "abc-123-ZYZ",
"groupId": "abc-123",
"groupName": "Burger Chain",
"registrationTime": 1512828988826,
"email": "jsmith123@example.com",
"emailVerifiedTime": 1512828988826,
"name": "John Smith",
"telephone": "+16045555555",
"telephoneVerifiedTime": 1512828988826,
"telephoneCountry": "GBR",
"type": "driver",
"level": "gold",
"employmentType": "selfEmployed",
"transportType": "car",
"category": "private-hire"
}
}
When sending orders to Ravelin you should also send the supplier that is associated with that order. That can be done using the Checkout endpoint API, in the order details you will find the suppliers array.
Was this page helpful?