curl --request GET \
--url https://app.polygon-one.com/api/ppwr/units \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.polygon-one.com/api/ppwr/units"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.polygon-one.com/api/ppwr/units', 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://app.polygon-one.com/api/ppwr/units",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://app.polygon-one.com/api/ppwr/units"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.polygon-one.com/api/ppwr/units")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.polygon-one.com/api/ppwr/units")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"internalRef": "<string>",
"packagingType": "sales",
"role": "manufacturer",
"reusable": true,
"componentCount": 123,
"completeness": "complete",
"missingFields": [
"heavyMetalsMgPerKg"
],
"obligationStatus": "action_needed",
"reuseStatus": "missing",
"recyclabilityGrade": "A"
}
]{
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"details": "<unknown>"
}Verpackungseinheiten auflisten
Retrieve your company’s live packaging units — the door that resolves a generated PU-<n> reference back to the unit and to the UUID the detail route takes. Soft-deleted units are never returned. Rows are ordered by name, then by id, so paging can neither repeat nor skip a unit. Requires packaging:read (a packaging:write key satisfies it); customer workspace with the PPWR module enabled.
curl --request GET \
--url https://app.polygon-one.com/api/ppwr/units \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.polygon-one.com/api/ppwr/units"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.polygon-one.com/api/ppwr/units', 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://app.polygon-one.com/api/ppwr/units",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://app.polygon-one.com/api/ppwr/units"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.polygon-one.com/api/ppwr/units")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.polygon-one.com/api/ppwr/units")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"internalRef": "<string>",
"packagingType": "sales",
"role": "manufacturer",
"reusable": true,
"componentCount": 123,
"completeness": "complete",
"missingFields": [
"heavyMetalsMgPerKg"
],
"obligationStatus": "action_needed",
"reuseStatus": "missing",
"recyclabilityGrade": "A"
}
]{
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"details": "<unknown>"
}Autorisierungen
API key generated in Settings > API Keys. Include as Authorization: Bearer <key>.
Abfrageparameter
Return only the unit carrying exactly this reference (the upsert key of POST /api/ppwr/units). An empty value is not a filter that matches nothing — it is no filter at all.
Maximum number of rows to return. Opt-in: a request that sends neither limit nor offset returns the whole set. A non-numeric or non-positive value is a 400.
x >= 1Number of rows to skip. Opt-in, same rules as limit; a non-numeric or negative value is a 400.
x >= 0Antwort
List of packaging units
The unit's id — what GET /api/ppwr/units/{id} and the PDF/export routes take.
Your reference for the unit, or the PU-<n> the server generated for a row that sent none. This is the upsert key of POST /api/ppwr/units and the specInternalRef of the link endpoints.
sales, grouped, transport, ecommerce, service Your economic-operator role for this unit.
manufacturer, importer, distributor, authorised_representative, supplier, fulfilment_service_provider Art. 11 reusable packaging.
Number of components linked to the unit.
Data completeness of the unit, rolled up from its components: a unit is only as complete as its least complete component.
complete, in_progress, incomplete The required Annex VII fields still missing across the unit's components. Empty when complete.
heavyMetalsMgPerKg, pfasCompliant Rollup of the unit's applicable PPWR obligations.
action_needed, on_track, upcoming State of the Art. 11 / Art. 26 re-use documentation for this unit.
missing, incomplete, documented, pool_managed, stale, not_reusable, not_applicable A, B, C, non_recyclable, null