GET {{dns}}/dispatches?carrierName={:carrierName}
Request
Parameter | Type | Description | Required |
---|---|---|---|
carrierName |
String | Carrier name. | No |
Responses
-
200 OK
Description: Indicates that it returned all available results.
Content-Type: application/json
Body:
[ { "id": "dfa08115-cd39-4bf6-8797-c34fc640316a", "cost": 96.4, "carrier": { "name": "DHL" }, "createdAt": "2024-03-06T09:12:55-03:00" }, { "id": "3967810a-0c14-469a-a2a8-5af1f8921c3a", "cost": 4.94, "carrier": { "name": "Loggi" }, "createdAt": "2024-03-06T08:58:45-03:00" } ]
or
[]
-
500 Internal Server Error
Description: Indicates that an unexpected error occurred on the server while processing the request.
Content-Type: application/json
Body:
{ "error": "An internal server error occurred." }