Create a shipment event

Create an event for a shipment. Typically, forwarder will only create ORDER event for import/export shipment to announce arrival of goods or DELIVERY_ORDER event for requesting the delivery of an export shipment.

Create a shipment event

post

Create a shipment event

Authorizations
Body
shipmentstring · uuidRequired
etaany | nullableRequired
ataany | nullableRequired
commentstring | nullableRequired
typestring · enumRequiredPossible values:
Responses
201Success
application/json
post
POST /shipment-event HTTP/1.1
Host: api.one-record.fr
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 107

{
  "shipment": "123e4567-e89b-12d3-a456-426614174000",
  "eta": null,
  "ata": null,
  "comment": "text",
  "type": "ARRIVAL"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "shipment": "123e4567-e89b-12d3-a456-426614174000",
  "type": "ARRIVAL",
  "eta": null,
  "ata": null,
  "comment": "text",
  "createdAt": null,
  "updatedAt": null
}

Last updated