Barcodes
GET https://7pxl.de/api/barcodes/
curl --request GET \
--url 'https://7pxl.de/api/barcodes/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://7pxl.de/api/barcodes/' \
--header 'Authorization: Bearer {api_key}' \
Parameter | Details | Beschreibung |
---|---|---|
page | Optional Ganzzahl | Die Seitennummer, von der Sie Ergebnisse erhalten möchten. Standardmäßig 1 . |
results_per_page | Optional Ganzzahl | Wie viele Ergebnisse Sie pro Seite erhalten möchten. Erlaubte Werte sind: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Standardmäßig 25 . |
{ "data": [ { "id": 1, "type": "C32", "name": "Example name", "value": "123456", "barcode": "https://7pxl.de/uploads/barcode/example.svg", "settings": { "foreground_color": "#000000", "width_scale": 2, "height": 50, }, "embedded_data": "123456", "last_datetime": null, "datetime": "2025-10-21 04:54:19", }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://7pxl.de/api/barcodes?page=1", "last": "https://7pxl.de/api/barcodes?page=1", "next": null, "prev": null, "self": "https://7pxl.de/api/barcodes?page=1" } }
GET https://7pxl.de/api/barcodes/{barcode_id}
curl --request GET \
--url 'https://7pxl.de/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://7pxl.de/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "type": "C32", "name": "Example name", "value": "123456", "barcode": "https://7pxl.de/uploads/barcode/example.svg", "settings": { "foreground_color": "#000000", "width_scale": 2, "height": 50, }, "embedded_data": "123456", "last_datetime": null, "datetime": "2025-10-21 04:54:19", } }
POST https://7pxl.de/api/barcodes
Parameter | Details | Beschreibung |
---|---|---|
project_id | Optional Ganzzahl | - |
name | Erforderlich String | - |
type | Erforderlich String | Erlaubte Werte: C32 , C39 , C39+ , C39E , C39E+ , C93 , S25 , S25+ , I25 , I25+ , ITF14 , C128 , C128A , C128B , C128C , EAN2 , EAN5 , EAN8 , EAN13 , UPCA , UPCE , MSI , MSI+ , POSTNET , PLANET , TELEPENALPHA , TELEPENNUMERIC , RMS4CC , KIX , IMB , CODABAR , CODE11 , PHARMA , PHARMA2T |
is_bulk | Optional Boolesch | |
value | Erforderlich String | - |
display_text | Optional Boolesch | - |
foreground_color | Optional String | - |
background_color | Optional String | - |
width_scale | Optional Ganzzahl | 1-10 |
height | Optional Ganzzahl | 30-1000 |
Parameter | Details | Beschreibung |
---|---|---|
curl --request POST \
--url 'https://7pxl.de/api/barcodes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'type=text' \
--form 'text=Hello!' \
--url 'https://7pxl.de/api/barcodes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'type=text' \
--form 'text=Hello!' \
{ "data": { "id": 1 } }
POST https://7pxl.de/api/barcodes/{barcode_id}
Parameter | Details | Beschreibung |
---|---|---|
project_id | Optional String | - |
name | Optional String | - |
type | Optional String | Erlaubte Werte: C32 , C39 , C39+ , C39E , C39E+ , C93 , S25 , S25+ , I25 , I25+ , ITF14 , C128 , C128A , C128B , C128C , EAN2 , EAN5 , EAN8 , EAN13 , UPCA , UPCE , MSI , MSI+ , POSTNET , PLANET , TELEPENALPHA , TELEPENNUMERIC , RMS4CC , KIX , IMB , CODABAR , CODE11 , PHARMA , PHARMA2T |
value | Erforderlich String | - |
display_text | Optional Boolesch | - |
foreground_color | Optional String | - |
background_color | Optional String | - |
width_scale | Optional Ganzzahl | 1-10 |
height | Optional Ganzzahl | 30-1000 |
curl --request POST \
--url 'https://7pxl.de/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
--url 'https://7pxl.de/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
{ "data": { "id": 1 } }
DELETE https://7pxl.de/api/barcodes/{barcode_id}
curl --request DELETE \
--url 'https://7pxl.de/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://7pxl.de/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \