Update shipments to endpoints
PUT https://api.sinay.ai/webhook/api/v1/easy-shipment
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
Request Body
{"ep_1srOrx2ZWZBpBUvZwXKQmoEYga2"=>{"shipments"=>[{"number"=>"MSDU9813721", "sealine"=>"HLCU"}, {"type"=>"BL", "number"=>"HLCUSHA2302AWXB8", "sealine"=>"HLCU"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"Ut64":{"containers":[{"number":"NKZP4971959","sealine":"\u003cstring\u003e"},{"number":"nUUe4983055","sealine":"\u003cstring\u003e"}],"blsBks":[{"number":"\u003cstring\u003e","type":"BL","sealine":"\u003cstring\u003e"},{"number":"\u003cstring\u003e","type":"BK","sealine":"\u003cstring\u003e"}]}}