limit to control pagination.curl --location --request GET '/api/shipments?limit' \
--header 'x-api-key: <api-key>'[
{
"summary": {
"description": "Successful response with shipment list"
},
"value": {
"_id": "676767676767676767676767",
"idFinan": "1234567890_3df2g",
"client": "Client 1",
"company": "Company 1",
"shipments": [
{
"id": "ID123",
"shipment": "123456",
"date": 1708262400000,
"loadDate": 1708262400000,
"unloadDate": 1708262400000,
"region": "Region 1"
}
],
"origin": {
"id": "ID123",
"nif": "12345678",
"address": {
"street": "Street 1",
"city": "City 1",
"province": "Province 1",
"country": "Country 1",
"zip": "12345"
}
},
"destination": {
"id": "ID123",
"nif": "12345678",
"address": {
"street": "Street 1",
"city": "City 1",
"province": "Province 1",
"country": "Country 1",
"zip": "12345"
}
}
}
}
]