put https://coreapi.impexdocs.com/api/v1/shipment/product/
Overview
HTTP Method: PUT
Endpoint URL: https://coreapi.impexdocs.com/api/v1/shipment/product/{shipmentdocs_id}
Authentication: Required
Response Format: JSON
Description
To add a product line in a Shipment, make a PUT request to the specified endpoint with the required information. The response will be a JSON object containing:
- Response Code
- Message
- Result
Request
Path Parameter
- Shipment Docs ID (
shipmentdocs_id
): The identifier generated during the creation of a new Shipment. Retrieve this ID from the response of the POST Shipment API.
Example Path Parameter
https://coreapi.impexdocs.com/api/v1/shipment/your_shipmentdocs_id
Example Request
Ensure to include the Shipmentdocs ID in the path and provide any additional fields that need modification in the request JSON.
Response
The API will respond with a JSON object containing:
- Response Code
- Message
- Result
Example Response JSON
{
"response_code": 200,
"message": "Updated",
"result": "Record Updated Successfully"
}
Note
- Ensure proper authentication before making the request.
- Use the Shipmentdocs ID obtained during the creation of the Shipment for the path parameter.
- Provide the necessary fields to be modified in the request JSON.