POST
/
v2
/
transponders
/
shipments
/
{ID}
/
ship
curl --request POST \
  --url https://api.app.fleetit.com/v2/transponders/shipments/{ID}/ship/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "courier": "DHL",
  "tracking_code": "123-123"
}'
{
  "id": 1,
  "status": "SHIPPED",
  "shipped_at": "2024-08-01T10:00:00Z",
  "transponders": [
    {
      "id": 1,
      "number": "transponder123"
    }
  ],
  "fleet": {
    "id": 1,
    "name": "Fleet Name"
  },
  "remarks": "Sample remarks",
  "courier": "DHL",
  "tracking_code": "123-123",
  "shipped_by": {
    "id": 1,
    "username": "user123"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Fleet-ID
string

Path Parameters

ID
integer
required

Body

application/json
courier
string
required
tracking_code
string
required

Response

200 - application/json
Successful response
id
integer
status
string
shipped_at
string
transponders
object[]
fleet
object
remarks
string
courier
string
tracking_code
string
shipped_by
object