Get All AWBs

GET/api/pay/v1/orders/{orderId}/awb

Retrieves all AWB records and their statuses for a given order. Returns an empty list (total: 0) if no AWB records exist for the order.

Requires Bearer token. Get token →

Path Parameters

NameTypeDescription
orderId
stringrequired

Order ID returned from Create Order API.

Response

NameTypeDescription
order_id
string

Order ID.

invoice_id
string

Associated invoice ID.

invoice_number
string

Associated invoice number.

total
integer

Total number of AWB records for this order.

awb_mappings
AwbListItem[]
awb_id
string

Unique AWB ID generated by Pinelabs in response to AWB creation.

awb_number
string

Unique AWB number shared by the merchant in the request.

awb_date
string

AWB date.

status
AWB_CAPTURED | AWB_UPLOADED | AWB_REJECTED

Current AWB status.

AWB_CAPTUREDAWB_UPLOADEDAWB_REJECTED
created_at
string

ISO 8601 timestamp of creation.

updated_at
string

ISO 8601 timestamp of last update.

Status Codes

200AWBs retrieved successfully.
400Bad Request — Validation error.
500
Request
curl --request GET \
  --url https://pluraluat.v2.pinepg.in/api/pay/v1/orders/%7BorderId%7D/awb \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Run this request

orderId
200 OK
{
  "order_id": "v1-260520225359-aa-LHy288",
  "invoice_id": "inv-260520225359-ab-XyZ123",
  "invoice_number": "v1-260520225359-aa-LHy288-IN",
  "total": 2,
  "awb_mappings": [
    {
      "awb_id": "awb-260522-001",
      "awb_number": "AWB-2026-001",
      "awb_date": "2026-05-22",
      "status": "AWB_UPLOADED",
      "created_at": "2026-05-22T10:30:00.000Z",
      "updated_at": "2026-05-22T11:00:00.000Z"
    }
  ]
}
New chat
Responses are generated using AI and may contain mistakes.
Hi! I'm Pine, your AI developer assistant. Ask me anything about Pine Labs APIs, integrations, or troubleshooting.

Tip: you can create a new chat with ⌘ + E