Update and Link Container with Shipment

Overview

HTTP Method: PUT

Endpoint URL: https://coreapi.impexdocs.com/api/v1/container/{shipmenfolderdetail_id}

Authentication: Required

Response Format: JSON

Description

To create and link Container with the Shipment, make a PUT request to the specified endpoint with the required information. The response will be a JSON object containing:

  • Response Code
  • Status
  • Message

Request

Path Parameter

  • Shipment Folder Detail ID (shipmentfolderdetail_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/container/your_shipmentfolderdetail_id

Example Request

Ensure to include the Shipment Folder Detail 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
  • Status
  • Message

Example Response JSON

{
    "response_code": 0,
    "status": 201,
    "message": "Container Updated successfully.",
    "result": [
        "37d6d83e-5fa0-4327-b36b-b8cd8917e826"
    ]
}

Note

  • Ensure proper authentication before making the request.
  • Use the Shipment Folder Detail ID obtained during the creation of the Shipment for the path parameter.
  • Provide the necessary fields to be modified in the request JSON.
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!