Buyurtma stickeri
Buyurtma stickeri
GET
/v1/order/sticker?orderId=<orderId>
Buyurtmani stickeri
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.