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
detail
OrderShipmentShipment details.
track_shipment
TrackShipmentShipment tracking details.
shipment_reasons
ShipmentCancellationReasonsIndividual shipment reason details.
shipment_bag_reasons
ShipmentBagReasonsIndividual bag reason details.
customer_detail
CustomerDetailsResponseSchema for customer details response.
invoice_detail
ShipmentInvoiceSchema for shipment invoice.
Query
1query shipment($shipmentId: String!, $bagId: String!, $orderId: String!) {2 shipment(shipmentId: $shipmentId) {3 detail {4 awb_no5 beneficiary_details6 can_break7 can_cancel8 can_return9 comment10 custom_meta11 delivery_date12 dp_name13 need_help_url14 order_id15 order_type16 refund_details17 return_meta18 returnable_date19 shipment_created_at20 shipment_id21 show_download_invoice22 show_track_link23 size_info24 total_bags25 track_url26 traking_no27 gstin_code28 shipment_created_ts29 }30 shipment_bag_reasons(bagId: $bagId) {31 success32 }33 customer_detail(orderId: $orderId) {34 country35 name36 order_id37 phone38 shipment_id39 }40 invoice_detail {41 presigned_type42 presigned_url43 shipment_id44 success45 }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": true34 },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": true47 }48 }49}
Was this section helpful?