put https://coreapi.impexdocs.com/api/v1/coo/
Overview
HTTP Method: PUT
Endpoint URL: https://coreapi.impexdocs.com/api/v1/coo/{shipmentdocs_id}
Authentication: Required
Response Format: JSON
Description
To modify a COO, 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 Folder Detail Id (
shipmentfolderdetail_id
): The shipment number is the primary key used to uniquely identify each Shipment in our system. It is essential for updating and retrieving data. - Exporter Reference (
exporter_reference
): - Customer Reference (
customer_reference
): - Chamber of Commerce (
chamber_of_commerce
): - Document Type (
document_type
): - Transaction Type (
transaction_type
):
Example Path Parameter
https://coreapi.impexdocs.com/api/v1/coo/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
Example Response JSON
{
"response_code": 200,
"message": "Updated"
}
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.