Skip to main content
GET
/
public
/
v1
/
reporting-service
/
vendors
/
{vendor-id}
Get Vendor Report
curl --request GET \
  --url https://api.topsort.com/public/v1/reporting-service/vendors/{vendor-id} \
  --header 'Authorization: Bearer <token>'
{
  "impressions": {
    "total": 123,
    "charged": 123,
    "adSpent": 123,
    "adSpentDecimal": "<string>"
  },
  "clicks": {
    "total": 123,
    "charged": 123,
    "adSpent": 123,
    "adSpentDecimal": "<string>"
  },
  "purchases": {
    "amount": 123,
    "count": 123,
    "quantity": 123,
    "countByProduct": {}
  },
  "auctions": {
    "percentageWon": 123,
    "won": 123,
    "lost": 123
  }
}

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Path Parameters

vendor-id
string
required

The ID of the vendor.

Minimum string length: 1

Query Parameters

start_date
string<date>
required

The start date for which reports will be generated.

end_date
string<date>
required

The end date for which reports will be generated.

Response

Successful Response

Auctions information attributed to this report item in addition to normal report data.

impressions
Events · object
required

How many impressions are attributed to this report item.

clicks
Events · object
required

How many clicks are attributed to this report item.

purchases
Purchases · object
required

How many purchases are attributed to this report item.

auctions
Auctions · object
required

How many auctions are attributed to this report item.