Get vendor stats

Retrieve the basic statistics about a vendor for a given time period, grouped by frequency.

Path parameters

freqstringRequired

Frequency to group series. Allowed values:

  • m - monthly
  • w - weekly
  • d - daily
  • h - hourly

For example, w groups the results by week.

idVendorintegerRequired

Vendor ID.

modestringRequired

Mode for request. Allowed values:

  • ytd - Year To Date
  • mtd - Month To Date
  • wtd - Week To Date
  • today - All current day
  • m12 - Last 12 months
  • d30 - Last 30 days
  • h24 - Last 24 hours
  • lasty - Last Year
  • lastm - Last Month
  • lastw - Last Week
  • yesterday - Last Day

Headers

requestTokenstringRequired

Query parameters

parametersmap from strings to optional stringsOptional

List of parameters

Response

Success

activeintegerOptional
activeVolumedoubleOptional
approvedintegerOptional
approvedVolumedoubleOptional
cancelledintegerOptional
cancelledVolumedoubleOptional
disapprovedintegerOptional
disapprovedVolumedoubleOptional
inTransitintegerOptional
inTransitVolumedoubleOptional
paidintegerOptional
paidVolumedoubleOptional
sentToApprovalintegerOptional
sentToApprovalVolumedoubleOptional
statXstringOptional
toApprovalintegerOptional
toApprovalVolumedoubleOptional

Errors