query

shipment

Get shipment details such as price breakup, tracking details, store information, etc. using Shipment ID.
Arguments
shipmentId
String!
Required
ID of the shipment. An order may contain multiple items and may get divided into one or more shipment, each having its own ID.
Response
Shipment details.
track_shipment
TrackShipment
Shipment tracking details.
Individual shipment reason details.
shipment_bag_reasons
ShipmentBagReasons
Individual bag reason details.
Schema for customer details response.
invoice_detail
ShipmentInvoice
Schema for shipment invoice.
Query
1query shipment($shipmentId: String!, $bagId: String!, $orderId: String!) {
2 shipment(shipmentId: $shipmentId) {
3 detail {
4 awb_no
5 beneficiary_details
6 can_break
7 can_cancel
8 can_return
9 comment
10 custom_meta
11 delivery_date
12 dp_name
13 need_help_url
14 order_id
15 order_type
16 refund_details
17 return_meta
18 returnable_date
19 shipment_created_at
20 shipment_id
21 show_download_invoice
22 show_track_link
23 size_info
24 total_bags
25 track_url
26 traking_no
27 gstin_code
28 shipment_created_ts
29 }
30 shipment_bag_reasons(bagId: $bagId) {
31 success
32 }
33 customer_detail(orderId: $orderId) {
34 country
35 name
36 order_id
37 phone
38 shipment_id
39 }
40 invoice_detail {
41 presigned_type
42 presigned_url
43 shipment_id
44 success
45 }
46 }
47}
Try it
Input Variables
1{
2 "shipmentId": "shipmentId",
3 "bagId": "bagId",
4 "orderId": "orderId"
5}
Response
1{
2 "shipment": {
3 "detail": {
4 "awb_no": "awb_no",
5 "beneficiary_details": true,
6 "can_break": {},
7 "can_cancel": true,
8 "can_return": true,
9 "comment": "comment",
10 "custom_meta": [
11 {}
12 ],
13 "delivery_date": "delivery_date",
14 "dp_name": "dp_name",
15 "need_help_url": "need_help_url",
16 "order_id": "order_id",
17 "order_type": "order_type",
18 "refund_details": {},
19 "return_meta": {},
20 "returnable_date": "returnable_date",
21 "shipment_created_at": "shipment_created_at",
22 "shipment_id": "shipment_id",
23 "show_download_invoice": true,
24 "show_track_link": true,
25 "size_info": {},
26 "total_bags": 42,
27 "track_url": "track_url",
28 "traking_no": "traking_no",
29 "gstin_code": "gstin_code",
30 "shipment_created_ts": "shipment_created_ts"
31 },
32 "shipment_bag_reasons": {
33 "success": true
34 },
35 "customer_detail": {
36 "country": "Canada",
37 "name": "A name",
38 "order_id": "order_id",
39 "phone": "1+ 418-323-4236",
40 "shipment_id": "shipment_id"
41 },
42 "invoice_detail": {
43 "presigned_type": "presigned_type",
44 "presigned_url": "presigned_url",
45 "shipment_id": "shipment_id",
46 "success": true
47 }
48 }
49}