Shipment

Update shipments to endpoints

You can update container or BL or BK to one or multiple endpoints with their container / BL / BK numbers, note that all the container / bl / bk will be replaced by the one provided for the endpoint

put/shipment

Request

  • Base URL
    https://api.sinay.ai/webhook/api/v1
  • URL
    https://api.sinay.ai/webhook/api/v1/shipment
  • Auth
    API key in header API_KEY

Request body

EndpointShipment required

Shipment description for the endpoint.

Example request

{
  "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2": {
    "containers": [
      {
        "number": "MSDU9813721",
        "sealine": "HLCU"
      }
    ],
    "blsBks": [
      {
        "type": "BL",
        "number": "HLCUSHA2302AWXB8",
        "sealine": "HLCU"
      }
    ]
  }
}

Response

EndpointShipment required

Shipment description for the endpoint.

Example response

{
  "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2": {
    "containers": [
      {
        "number": "MSDU9813721",
        "sealine": "HLCU"
      }
    ],
    "blsBks": [
      {
        "type": "BL",
        "number": "HLCUSHA2302AWXB8",
        "sealine": "HLCU"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.