API DocumentationManufacturer analytics controller
Get time series metrics for the operator
GET
Returns daily counts of each metric event for the operator, from the same date last month through today. The response maps each event name to a map from ISO date (yyyy-MM-dd) to count. A day with no occurrences is left out. ORDER_CREATION counts quote-to-order conversions and orders created directly in ORDER state. It does not count quote creation, which QUOTE_GENERATION counts. An order is counted once, when it enters ORDER state and receives its order number. A conversion counts whether the customer or the manufacturer converts the quote, including through card, invoice or purchase-order payment. The count falls on the server date the order is processed, not on a backdated conversion date.
Phasio API Bearer Tokenheader
AuthorizationBearer <token>Operator metrics retrieved successfully
application/jsoncurl -X GET 'https://m-api.eu.phas.io/api/manufacturer/v1/analytics/operator/metrics'Empty