Barcodes
GET https://9qrcode.com/api/barcodes/
curl --request GET \
--url 'https://9qrcode.com/api/barcodes/' \
--header 'Authorization: Bearer {api_key}' \
--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:40:17"
},
],
"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}' \
--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:40:17"
}
}
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 | ရွေးချယ်နိုင်သည် Boolean | |
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!' \
--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' \
--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}' \
--url 'https://9qrcode.com/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \