FaberExposize Customer API
Version 1 · Deutsch · OpenAPI specification
The API lets you order directly in your customer account: read the catalog, calculate prices, create orders, transfer print data, track status and download documents. Everything our sales team can order for you is available: individual positions, digitally printed and screen-printed flags, preconfigured articles, standard articles and accessories, and frames.
Quick start
- Request a token from your sales contact. It is handed over once and known only to you.
- New tokens start in the sandbox. You test with real prices, nothing is produced.
- Read account and catalog, request a quote, create a test order, upload print data, track the status.
- Go live:
PUT /v1/sandbox {"enabled": false}.
curl -H "Authorization: Bearer $TOKEN" https://api.faberexposize.online/v1/account
Authentication and security
Every request carries Authorization: Bearer fxa_…. A token belongs to exactly one customer account; you only see and order in
that account. Treat the token like a password. If you suspect misuse we revoke it immediately and issue a new one.
There are three scopes: read (account, catalog, status, documents), quote (prices) and order (orders, print data).
HTTPS only. At most 120 requests per minute per token.
Sandbox
The switch applies per token: PUT /v1/sandbox with {"enabled": true} or false. Sandbox orders are fully
validated and priced with your real prices but never produced. Print data is checked and then discarded. Once all files are transferred
the status advances automatically: immediately received, after 2 minutes confirmed, after 5 in_production,
after 10 shipping, after 15 delivered. Sandbox and live orders are kept apart; every view shows the orders of the current
mode only. Responses carry the header X-Sandbox.
Catalog
Only components released for the API exist. Unknown or locked IDs are rejected with 422.
| Endpoint | Content |
|---|---|
GET /v1/catalog | Overview and counts |
GET /v1/catalog/materials | Materials with allowed technologies and processing options |
GET /v1/catalog/technologies, processingoptions, accessories, extras, packings | Building blocks of individual positions |
GET /v1/catalog/flags | Flags: materials, formats, colours, finishings |
GET /v1/catalog/preconfigured-articles | Preconfigured articles with materials and accessories |
GET /v1/catalog/standard-articles | Standard articles and accessories |
GET /v1/catalog/frames | Frame profiles |
GET /v1/catalog/shipment-modes | Shipment modes |
Positions
type | Fields |
|---|---|
individual | material_id, technology_id, width_cm, height_cm, variant (normal, doubleprint, doubleseam),
motives, processingoptions [{id, consumption, edges e.g. "o_l_r_u" (top, left, right, bottom), interval_cm}], accessories, extras, packings [{id, consumption}] |
flag | kind (digitaldruck, siebdruck), material_id, width_cm, height_cm (format from the catalog), orientation (portrait, landscape),
screen print: colors 1–6 or cmyk + spot 0–2, finishing_id, finishing_values (1–50 per placeholder), sticker_text, motives (screen print: exactly one motive) |
preconfigured | article_id, material_id, accessory_ids (required parts are added automatically), motives |
standard | standard_article_id, quantity |
frame | profile_id, width_mm, height_mm, quantity, optional braces_horizontal, braces_vertical |
All types: title, reference (your position reference), note. motives is a list
[{"quantity": 10, "filename": "a.pdf", "sticker_text": "…"}]; the position quantity is the sum of the motive quantities.
Prices
POST /v1/quotes with {"positions": [...]} returns unit and total price per position, net in EUR, with your customer terms.
The price is non-binding; shipping and a possible minimum order value surcharge are added when the order is checked.
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"positions":[{"type":"standard","standard_article_id":12,"quantity":5}]}' \
https://api.faberexposize.online/v1/quotes
Create an order
POST /v1/orders with the required header Idempotency-Key (unique per order). If you repeat a request after a network error with
the same key, you get the same answer and no second order is created.
{
"reference": "PO-4711",
"contractor_id": 123, "debtor_id": 123,
"delivery": { "address_id": 456, "shipment_mode_id": 3, "ship_date": "2026-12-10" },
"positions": [
{ "type": "individual", "title": "Entrance banner", "material_id": 10, "technology_id": 5,
"width_cm": 300, "height_cm": 100, "motives": [ { "quantity": 2 } ],
"processingoptions": [ { "id": 7, "consumption": 1, "edges": "o_l_r_u" } ] }
]
}
IDs for contractor, debtor, buyer and delivery address are listed in GET /v1/account. If there is only one contractor or debtor,
the fields may be omitted. The answer contains one upload slot per motive (files[].upload_url).
Transfer print data
One PDF file per motive via PUT /v1/orders/{id}/files/{fileId}, raw content in the body (Content-Type: application/pdf).
Until all files are complete the order is receiving and has not yet arrived. With the last file it is handed over
(received, arrived: true). Orders whose transfer is never completed are removed after 48 hours.
curl -X PUT -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/pdf" \ -H "X-Filename: motif1.pdf" --data-binary @motif1.pdf \ https://api.faberexposize.online/v1/orders/123/files/456
Large files in parts (recommended from 50 MB): send each part with X-Upload-Offset (bytes received so far, starting at 0),
and the last one additionally with X-Upload-Complete: true. Optionally X-Content-SHA256 checks the whole file.
If the offset does not match, the answer (409) states the expected value, so an interrupted upload can be resumed.
Status
GET /v1/orders/{id} and GET /v1/orders. An order is confirmed after production planning (confirmed,
together with the order confirmation document). Cancelling via DELETE /v1/orders/{id} is only possible while print data is being transferred.
| Code | Meaning |
|---|---|
receiving | Print data transfer in progress, not yet arrived |
received | Arrived, being checked and planned |
clarification | Arrived, clarification needed – we will contact you |
artwork_approval | Proof awaiting your approval |
confirmed | Confirmed |
in_production, shipping | In production, shipping |
partially_delivered, delivered | Partially delivered, delivered (with tracking numbers) |
complaint, completed | Complaint, completed |
partially_cancelled, cancelled | Partially cancelled, cancelled |
Documents
GET /v1/orders/{id}/documents lists offer, order confirmation, delivery note and invoice;
GET /v1/documents/{type}/{id} returns the PDF. All documents of your customer account dated within the last 2 years are available; for older documents please contact your sales representative.
Errors
Errors always look like {"error": {"code": "...", "message": "...", "details": {...}}}.
Every response carries X-Request-Id; please quote it when contacting us.
| HTTP | Code |
|---|---|
| 400 | bad_request – incomplete request (e.g. missing Idempotency-Key) |
| 401 | unauthorized, token_revoked, token_expired |
| 403 | forbidden, client_inactive – missing scope or ordering currently blocked |
| 404 | not_found |
| 409 | conflict – Idempotency-Key reused differently, upload offset, order can no longer be changed |
| 413 | payload_too_large, file_too_large |
| 422 | validation_failed – field in details.field |
| 429 | rate_limited |
| 5xx | internal_error, upstream_unavailable – retry later |