Last updated 8 months ago
To understand the groups parameter and the customization of API responses, please refer to the .
shipment - retrieve information about the shipment
shipment
type - retrieve information about the type
type
To understand the filters parameter and the customization of API responses, please refer to the .
id - to filter by the unique identifier.
id
shipment.shipmentId - to filter by the shipment ID.
shipment.shipmentId
shipment.orderReference - to filter by the order reference of the shipment.
shipment.orderReference
shipment.createdAt - to filter by the creation date of the shipment.
shipment.createdA
type - to filter by the type.
eta - to filter by the estimated time of arrival (ETA).
eta
ata - to filter by the actual time of arrival (ATA).
ata
createdAt - to filter by the creation date.
createdAt
Get all shipment events
column_name
asc|desc
GET /shipment-event HTTP/1.1 Host: api.one-record.fr Authorization: Bearer JWT Accept: */*
{ "data": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "shipment": "123e4567-e89b-12d3-a456-426614174000", "type": "ARRIVAL", "eta": null, "ata": null, "comment": "text", "createdAt": null, "updatedAt": null } ], "metadata": { "count": 1, "current": "text", "next": "text" } }