BigShop API

v1.0.0

Open App

BigShop API

Build powerful integrations with the BigShop Truck Repair Management Platform.

Base URL: https://api.bigshopai.com/v1
Format: JSON
Auth: API Key or JWT

Authentication

Include your API key in the X-Api-Key header:

curl -X GET "https://api.bigshopai.com/v1/customers" \
  -H "X-Api-Key: YOUR_API_KEY"

Error Codes

Code Description
200Success
201Created
400Bad Request
401Unauthorized
403Forbidden
404Not Found
500Server Error

❤️ Health Check

Check the API status and availability.

GET /v1/health

Returns the current health status of the API.

🏢 Customers

Manage customer records for your repair shop.

GET /v1/customers

List all customers with optional filtering and pagination.

Query Parameters

limitintegerMax results (default: 50)
offsetintegerSkip results for pagination
searchstringSearch by name or email
POST /v1/customers

Create a new customer record.

Request Body

namestringCustomer name
typestringcompany | individual
emailstringContact email
phonestringPhone number

🚛 Vehicles

Manage vehicle records linked to customers.

GET /v1/vehicles

List all vehicles with optional filtering.

Query Parameters

customerIdstringFilter by customer
limitintegerMax results
POST /v1/vehicles

Create a new vehicle record.

Request Body

customerIdstringOwner customer ID
vinstringVehicle Identification Number
licensePlatestringLicense plate number
makestringVehicle make (e.g., Peterbilt)
modelstringVehicle model
yearintegerModel year
mileageintegerCurrent mileage

📋 Work Orders

Manage repair work orders and service tickets.

GET /v1/work-orders

List all work orders with filtering options.

Query Parameters

statusstringpending | in_progress | completed | cancelled
customerIdstringFilter by customer
vehicleIdstringFilter by vehicle
POST /v1/work-orders

Create a new work order.

Request Body

customerIdstringCustomer ID
vehicleIdstringVehicle ID
complaintstringCustomer complaint description
prioritystringlow | medium | high | urgent
assignedTostringTechnician user ID

📦 Inventory

Manage parts and supplies inventory.

GET /v1/inventory

List all inventory items.

Query Parameters

categorystringFilter by category
lowStockbooleanShow only low stock items
searchstringSearch by name or SKU

🔍 Inspections

Manage vehicle inspection records.

GET /v1/inspections

List all inspection records.

Query Parameters

vehicleIdstringFilter by vehicle
workOrderIdstringFilter by work order
statusstringpassed | failed | pending

👥 Users

Manage shop users and technicians.

GET /v1/users

List all users in the shop.

Query Parameters

rolestringadmin | manager | technician | service_writer
activebooleanFilter by active status
GET /v1/users/me

Get the current authenticated user's profile.

🔔 Webhooks

Configure webhooks to receive real-time notifications.

GET /v1/webhooks

List all configured webhooks.

Available Webhook Events

Event Description
work_order.createdNew work order created
work_order.updatedWork order status changed
work_order.completedWork order marked complete
customer.createdNew customer added
vehicle.createdNew vehicle added
inspection.completedInspection finished
inventory.low_stockItem below threshold