Bu metod ile siparişlerinize barkod oluşturmanıza olanak tanır.
https://shipment.pttavm.com/api/v1/create-barcodePOSTapplication/jsonBasic Auth
https://shipment.pttavm.com/api/v1/get-warehouse
{
"orders": [
{
"order_id": "PTT-0BO6M672N-180925", // Sipariş numarası zorunlu
"warehouse_id": 100301619 // Depo id zorunlu
}
]
}
{
"orders": [
{
"order_id": "PTT-123123-180925", //must
"warehouse_id": 12345 //must olan
},
{
"order_id": "PTT-123123-180925", //must
"warehouse_id": 12345 //must olan
}
]
}
{
"tracking_id": "cb3fa78459a6edae7dca9be0389a9861",
"count": 2,
"code": 200,
"success": true,
"message": "",
"error": false
}
| Parametre | Tür | Açıklama |
|---|---|---|
| barcodes | string | Siparişe ait barkod bilgisi |
| order_id | string | Sipariş numarası. |
| warehouse_id | int | Depo bilgisi |
| tracking_id | string | İşlem sonunda sistem tarafından üretilen tracking_id |
| message | string | Request sonunda iletilen mesaj |
| Alan Adı | Açıklama |
|---|---|
| 200 | Success |
| 422 | Bad Request |