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

Request

Authenticates a user and returns a token that must be included in the Authorization header for subsequent requests.

Security
bearerAuth
Bodymultipart/form-datarequired
Emailstringrequired
Example: "user@example.com"
Methodstring
Example: "API Call"
Passwordstringrequired
Example: "password123"
UserAgentstring
Example: "web"
curl -i -X POST \
  https://developers.fuelu2.com/_mock/apis/customer/Users/login \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -F Email=user@example.com \
  -F 'Method=API Call' \
  -F Password=password123 \
  -F UserAgent=web

Responses

Successful login

Bodyapplication/json
tokenstring

JWT token to be used in Authorization header.

userIdstring

ID of the authenticated user

Response
application/json
{ "token": "string", "userId": "string" }

Request

Logs out the currently authenticated user by invalidating their session token.

Security
bearerAuth
Bodyapplication/jsonrequired
UserAgentstringrequired
Example: "web"
curl -i -X POST \
  https://developers.fuelu2.com/_mock/apis/customer/Users/logout \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "UserAgent": "web"
  }'

Responses

Successfully logged out

Bodyapplication/json
successboolean
Example: true
messagestring
Example: "Successfully logged out"
Response
application/json
{ "success": true, "message": "Successfully logged out" }
Operations
Operations
Operations
Operations