Get Fulfillment Stats
curl --request GET \
--url https://production-api.puppetvendors.com/fulfillments/stats \
--header 'x-access-token: <api-key>'import requests
url = "https://production-api.puppetvendors.com/fulfillments/stats"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://production-api.puppetvendors.com/fulfillments/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://production-api.puppetvendors.com/fulfillments/stats",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://production-api.puppetvendors.com/fulfillments/stats"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://production-api.puppetvendors.com/fulfillments/stats")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://production-api.puppetvendors.com/fulfillments/stats")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_bodyFulfillments
Get Fulfillment Stats
Get headline fulfillment performance statistics
GET
/
fulfillments
/
stats
Get Fulfillment Stats
curl --request GET \
--url https://production-api.puppetvendors.com/fulfillments/stats \
--header 'x-access-token: <api-key>'import requests
url = "https://production-api.puppetvendors.com/fulfillments/stats"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://production-api.puppetvendors.com/fulfillments/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://production-api.puppetvendors.com/fulfillments/stats",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://production-api.puppetvendors.com/fulfillments/stats"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://production-api.puppetvendors.com/fulfillments/stats")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://production-api.puppetvendors.com/fulfillments/stats")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_bodyV2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.
Overview
Returns headline fulfillment performance metrics: average days to fulfill, count of orders unfulfilled for 7+ days, and the percentage of orders fulfilled on time (within 7 days). Vendor tokens are automatically scoped to your own items.Use Cases
- Display fulfillment performance KPIs on your vendor dashboard
- Track whether your fulfillment speed is improving over time
- Identify if you have a backlog of overdue orders
Required Scope
fulfillments:read
Query Parameters
string
ISO 8601 lower bound on the date filter. Example:
2026-01-01T00:00:00Z.string
ISO 8601 upper bound on the date filter.
Response
200
{
"success": true,
"data": {
"stats": {
"averageDaysToFulfill": 2.3,
"unfulfilledFor7Days": 4,
"fulfilledOnTimePercentage": 92.5
}
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
averageDaysToFulfill | number | The average number of days between order creation and fulfillment. |
unfulfilledFor7Days | number | Count of orders that have been unfulfilled for 7 or more days (anchored to today). |
fulfilledOnTimePercentage | number | Percentage of orders fulfilled within 7 days of creation. |
Example
curl -X GET "https://production-api.puppetvendors.com/fulfillments/stats?startDate=2026-04-01T00:00:00Z&endDate=2026-05-19T23:59:59Z" \
-H "x-access-token: YOUR_VENDOR_JWT"
Was this page helpful?