Overview
Use this endpoint to retrieve detailed information about a shipment packing details based on its unique shipment number.
Endpoint
HTTP Method: GET
Endpoint URL: https://coreapi.impexdocs.com/api/v1/shipment/packingdetails/{shipmentdocs_id}
Authentication: Required
Response Format (Successfully Retrieved)
A successful retrieval will yield a JSON response containing the following details:
- Product Lines (Returned in an array if there are multiple product lines)
Request Parameters
To fetch a shipment, provide the required field, which is the "Shipment Number" {shipment_no}. Alternatively, users can also pass the Shipment Docs Id {shipmentdocs_id} in place of the Shipment Number for retrieval.
Example
Request
GET https://coreapi.impexdocs.com/api/v1/shipment/packingdetails/{shipmendocs_id}
Response
[
{
"product_code": "Product 1",
"product_description": "FSH CHICK NOUT CTN #13X10",
"base_uom": "BD",
"pack_uom": "CT",
"selling_uom": "BD",
"unit_netwt": "1.40",
"unit_grosswt": "2.20",
"base_quantity": "0.00",
"no_of_packunit": "0.00",
// Additional product details
},
// Additional product lines
]
This example demonstrates a request to fetch the summary of a shipment packing details with the provided shipment number. The response includes details such as the shipment status, associated documents ID, folder details ID, shipment summary details, and an array of product lines if applicable.