Barcodes

GET https://9qrcode.com/api/barcodes/
curl --request GET \
--url 'https://9qrcode.com/api/barcodes/' \
--header 'Authorization: Bearer {api_key}' \
ຂໍ້ຄວາມປະກອບ ລາຍລະອຽດ ລາຍລະອຽດ
page ບໍ່ຈຳກັດ ຕົວໜຶ່ງ ຫມາຍເລກໜ້າທີ່ທ່ານຕ້ອງການຈາກ. ການຕັ້ງຄ່າເປັນ 1 ມາດຕະ.
results_per_page ບໍ່ຈຳກັດ ຕົວໜຶ່ງ ຈຳນວນຜົນສົ່ງຂ້າມໃສ່ຫນ້າຫນຶ່ງ. ຄ່າທີ່ອະນຸຍາດນຳໃຊ້ນັກ: 10 , 25 , 50 , 100 , 250 , 500 , 1000. ຄ່າເລີ່ມຕົ້ນແລ້ວແມ່ນ 25
{ "data": [ { "id": 1, "type": "C32", "name": "Example name", "value": "123456", "barcode": "https://9qrcode.com/uploads/barcode/example.svg", "settings": { "foreground_color": "#000000", "width_scale": 2, "height": 50, }, "embedded_data": "123456", "last_datetime": null, "datetime": "2025-04-11 03:33:31" }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://9qrcode.com/api/barcodes?&page=1", "last": "https://9qrcode.com/api/barcodes?&page=1", "next": null, "prev": null, "self": "https://9qrcode.com/api/barcodes?&page=1" } }
GET https://9qrcode.com/api/barcodes/{barcode_id}
curl --request GET \
--url 'https://9qrcode.com/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "type": "C32", "name": "Example name", "value": "123456", "barcode": "https://9qrcode.com/uploads/barcode/example.svg", "settings": { "foreground_color": "#000000", "width_scale": 2, "height": 50, }, "embedded_data": "123456", "last_datetime": null, "datetime": "2025-04-11 03:33:31" } }
POST https://9qrcode.com/api/barcodes
ຂໍ້ຄວາມປະກອບ ລາຍລະອຽດ ລາຍລະອຽດ
project_id ບໍ່ຈຳກັດ ຕົວໜຶ່ງ -
name ຕ້ອງການ ຂໍ້ຄວາມ -
type ຕ້ອງການ ຂໍ້ຄວາມ ຄ່າທີ່ອະນຸຍາດ: 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 ບໍ່ຈຳກັດ ບຸກຄົນ
value ຕ້ອງການ ຂໍ້ຄວາມ -
foreground_color ບໍ່ຈຳກັດ ຂໍ້ຄວາມ -
width_scale ບໍ່ຈຳກັດ ຕົວໜຶ່ງ 1-10
height ບໍ່ຈຳກັດ ຕົວໜຶ່ງ 30-1000
ຂໍ້ຄວາມປະກອບ ລາຍລະອຽດ ລາຍລະອຽດ
curl --request POST \
--url 'https://9qrcode.com/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://9qrcode.com/api/barcodes/{barcode_id}
ຂໍ້ຄວາມປະກອບ ລາຍລະອຽດ ລາຍລະອຽດ
project_id ບໍ່ຈຳກັດ ຂໍ້ຄວາມ -
name ບໍ່ຈຳກັດ ຂໍ້ຄວາມ -
type ບໍ່ຈຳກັດ ຂໍ້ຄວາມ ຄ່າທີ່ອະນຸຍາດ: 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 ຕ້ອງການ ຂໍ້ຄວາມ -
foreground_color ບໍ່ຈຳກັດ ຂໍ້ຄວາມ -
width_scale ບໍ່ຈຳກັດ ຕົວໜຶ່ງ 1-10
height ບໍ່ຈຳກັດ ຕົວໜຶ່ງ 30-1000
curl --request POST \
--url 'https://9qrcode.com/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
{ "data": { "id": 1 } }
DELETE https://9qrcode.com/api/barcodes/{barcode_id}
curl --request DELETE \
--url 'https://9qrcode.com/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \