Skip to content

FuelU2 Customer API (1.0.0)

API for handling customer data, relationships, and order interactions within the FuelU2 network.

Download OpenAPI description
Overview
FuelU2 API Support

support@fuelu2.com

License

MIT

Languages
Servers
Mock server

https://developers.fuelu2.com/_mock/apis/customer/

Production server

https://api.fuelu2.com/

Operations
Operations
Operations

Request

Creates a new driver record for a specific customer.

Security
bearerAuth
Query
AllowBlitzboolean

Whether the driver is allowed to blitz

CustomerIdstring(uuid)required

CustomerId

FirstNamestringrequired

FirstName

IdPassportstringrequired

IdPassport

LastNamestringrequired

LastName

LicenseExpiryDatestring(date-time)required

LicenseExpiryDate

curl -i -X POST \
  'https://developers.fuelu2.com/_mock/apis/customer/Drivers?AllowBlitz=true&CustomerId=497f6eca-6276-4993-bfeb-53cbbbba6f08&FirstName=string&IdPassport=string&LastName=string&LicenseExpiryDate=2019-08-24T14%3A15%3A22Z' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Driver created successfully

Bodyapplication/json
messagestring
Example: "Driver created successfully"
Response
application/json
{ "message": "Driver created successfully" }

Request

Deletes an existing driver by specifying their unique ID and creation timestamp.

Security
bearerAuth
Bodyapplication/json-patch+jsonrequired
idstring(uuid)required
Example: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
createdOnstring(date-time)required
Example: "2025-10-07T11:28:36.700Z"
curl -i -X DELETE \
  https://developers.fuelu2.com/_mock/apis/customer/Drivers \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json-patch+json' \
  -d '{
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "createdOn": "2025-10-07T11:28:36.700Z"
  }'

Responses

Driver deleted successfully

Bodyapplication/json
successboolean
Example: true
messagestring
Example: "Driver deleted successfully"
Response
application/json
{ "success": true, "message": "Driver deleted successfully" }

Request

Retrieves a paginated list of drivers with optional filters for customer, subcontract, and search text.

Security
bearerAuth
Query
Pageinteger(int32)

Page number for pagination, default 1

Example: Page=1
PageSizeinteger(int32)

Number of items per page

Example: PageSize=20
CustomerIdstring(uuid)

Filter drivers by a specific customer ID

Example: CustomerId=3fa85f64-5717-4562-b3fc-2c963f66afa6
SubContractsIdArray of strings

Filter drivers by one or more subcontractor IDs

Example: SubContractsId=sub_1234&SubContractsId=sub_5678
Textstring

Free-text search on driver details

Example: Text=John
curl -i -X GET \
  'https://developers.fuelu2.com/_mock/apis/customer/Drivers/paged?Page=1&PageSize=20&CustomerId=3fa85f64-5717-4562-b3fc-2c963f66afa6&SubContractsId=sub_1234%2Csub_5678&Text=John' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Success

Bodyapplication/json
dataArray of objects
totalinteger

Total number of matching records

messagestring
Example: "Drivers fetched successfully"
Response
application/json
{ "data": [ {} ], "total": 0, "message": "Drivers fetched successfully" }
Operations
Operations