Retrieve by domain
Base URL
https://dashboard.trustprofile.com
GET /webshops/fetch_domain.json
Parameters
They should be passed as query parameters to the URL. (ex.: ?language=eng&page=2
)
token
string (required)
Authorization token sent by us. Without it the API won't work!
url
string (required)
URL to retrieve data for.
approved_date
boolean
Get webshop approved date(if webshop has been approved)
partner_assurances
boolean
Get webshop partner assurances
Example response
[
{
"id": 1,
"name": "Webshop name",
"url": "http://www.example.shop",
"rating": 9.6852, // Ratings scale 1-10
"rating_count": 12345,
"icon": "https://dashboard.trustprofile.com/webshops/icon/1/256.png?m=0",
"page": "https://www.trustprofile.com/webshop/Webshop-name_1",
"hero_color": "#df7e2a",
"hero_image": "https://dashboard.trustprofile.com/webshops/hero/1/1024.jpg",
"created": "2017-07-07 09:00:00",
"approved_date": "2017-07-14",
"partner_assurances": {
"partner_1": true,
"partner_2": false
}
}
]