BTS API Hujjatlari
Buyurtma stickeri

Buyurtma stickeri

GET /v1/order/sticker?orderId=<orderId>

Buyurtmani stickeri

API Server https://apitest.bts.uz:28345/
Base Path /v1/order/sticker?orderId=<orderId>
Full URL
https://apitest.bts.uz:28345/v1/order/sticker?orderId=<orderId>
Authentication Bearer Token
Headers
Header
Value
Req.
Authorization
Bearer {token}
🔒
Content-Type
application/json
🔒
Accept
application/json
🔒

REQUEST

Request Body
                     
                                          
                
No schema defined.

RESPONSE

200 Success
Masalan: Success. Content-Type: application/json
Response Body
                                 
                                 {
    "status": true,
    "message": "success.retrieved",
    "status_code": 200,
    "data": {
        "labelEncode": null,
        "labelSticker": "https://prog.bts.uz/waybill_barcodes/shortef5bd4350c8bb994b85017009e6a1de3.pdf"
    }
}                                 
                            
No schema defined.
400 Bad Request
Masalan: Bad Request. Content-Type: application/json
Response Body
                                 
                                 {
    "name": "Bad Request",
    "message": "Quyidagi zarur parametrlar mavjud emas: orderId",
    "code": 0,
    "status": 400,
    "type": "yii\\web\\BadRequestHttpException"
}                                 
                            
No schema defined.
401 Unautorized
Masalan: Unautorized. Content-Type: application/json
Response Body
                                 
                                 {
    "name": "Unauthorized",
    "message": "Your request was made with invalid credentials.",
    "code": 0,
    "status": 401,
    "type": "yii\\web\\UnauthorizedHttpException"
}                                 
                            
No schema defined.
404 Not Found
Masalan: Not Found. Content-Type: application/json
Response Body
                                 
                                 {
    "status": false,
    "message": "error.not_found",
    "status_code": 404
}                                 
                            
No schema defined.