List packaging items
const url = 'https://api.europlaybook.com/v1/packaging-items?limit=50&archived=hide';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.europlaybook.com/v1/packaging-items?limit=50&archived=hide' \ --header 'Authorization: Bearer <token>'The packaging library: reusable parts (boxes, bags, fillers) with their material breakdown. Parts made for one product only are not listed (they appear in that product’s packaging tree).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”OK
object
object
Name of the packaging part.
Your code for the part (unique per account when set).
Usual role: sales, grouped, transport, shipping or filler.
Usually ends up with households (vs. businesses).
Can be separated from the other parts by hand.
Material breakdown of ONE part.
object
Material code from the knowledge pack (see /reference/materials).
Mass in milligrams.
Sum of the materials, milligrams.
Example
{ "items": [ { "id": "0199f5a2-7c1e-7b4a-9d0e-3f6c2a1b8e44", "name": "Folding box S", "code": "BOX-S", "rigidity": "rigid", "materials": [ { "material": "paper", "mass_mg": 12000 } ], "total_mass_mg": 12500 } ], "next_cursor": "WyIwMTk5ZjVhMi03YzFlLTdiNGEtOWQwZS0zZjZjMmExYjhlNDQiXQ"}Bad Request
object
Example
{ "detail": "This API key lacks the scope catalogue:write", "code": "insufficient_scope", "params": { "required_scope": "catalogue:write" }}Unauthorized
object
Example
{ "detail": "This API key lacks the scope catalogue:write", "code": "insufficient_scope", "params": { "required_scope": "catalogue:write" }}Forbidden
object
Example
{ "detail": "This API key lacks the scope catalogue:write", "code": "insufficient_scope", "params": { "required_scope": "catalogue:write" }}Not Found
object
Example
{ "detail": "This API key lacks the scope catalogue:write", "code": "insufficient_scope", "params": { "required_scope": "catalogue:write" }}Conflict
object
Example
{ "detail": "This API key lacks the scope catalogue:write", "code": "insufficient_scope", "params": { "required_scope": "catalogue:write" }}Unprocessable Content
object
What went wrong, in English, for people and logs.
Stable machine-readable error code; translate and branch on this.
Per-field problems (pydantic format: loc, msg, type).
object
Example
{ "detail": "This API key lacks the scope catalogue:write", "code": "insufficient_scope", "params": { "required_scope": "catalogue:write" }, "errors": []}Too Many Requests
object
Example
{ "detail": "This API key lacks the scope catalogue:write", "code": "insufficient_scope", "params": { "required_scope": "catalogue:write" }}