Supplier Label

The Supplier label endpoint allows you to add the review label to the supplier via our API. This is the same as reviewing a supplier in the Ravelin dashboard. This is an optional integration. You may manage reviews entirely within the Ravelin dashboard.

POST api.ravelin.com/v2/supplier/:supplierid:/labels

Show all
category string optional

The category of label being applied to the supplier.

Only: SUPPLIER_FRAUD.

review string optional

The review label to apply to the supplier.

One of: FRAUDULENT, GENUINE, or UNREVIEWED.

reviewer object optional

The individual who is reviewing the supplier.

Their details will appear in the supplier profile on the Ravelin dashboard so you are able to see who did this review.

Show definition
POST https://api.ravelin.com/v2/supplier/supplier-123/labels HTTP/1.1
Authorization: token ...
Content-Type: application/json

{
  "category": "SUPPLIER_FRAUD",
  "review": "GENUINE",
  "reviewer": {
    "name": "Bilbo Baggins",
    "email": "bilbo.b@shiremail.com"
  }
}

Example response:

{
    "eventTime": "2020-01-23T16:33:02Z"
}

Feedback