Creates a new scale ticket with weight measurements, materials, and vehicle information
Security
apiKey
Unique identifier for the disposal site
Example:"64318450-1ce2-499d-8a70-f313aabe1831"
- Mock serverhttps://docs.haulerhero.com/_mock/scale/hero-api/v1/tickets
- Hauler Hero production serverhttps://api.haulerhero.com/hero-api/v1/tickets
curl -i -X POST \
https://docs.haulerhero.com/_mock/scale/hero-api/v1/tickets \
-H 'Content-Type: application/json' \
-H 'HERO-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"siteId": "64318450-1ce2-499d-8a70-f313aabe1831",
"materials": [
{
"id": "a51b814b-1b23-4f28-8c2a-b90030340eea",
"name": "Paper",
"quantity": 100,
"unitPriceCents": 15.5,
"unitOfMeasure": "Ton"
}
],
"inboundFlow": {
"ticketNumber": "INB-20240701-001",
"updatedAt": "2024-07-01T12:00:00Z"
},
"outboundFlow": {
"ticketNumber": "OUT-20250701-001",
"updatedAt": "2025-07-01T12:00:00Z"
},
"customFields": {
"driverName": "John",
"routeName": "Route 1"
}
}'Response
{ "success": true, "disposalTicketId": "123e4567-e89b-12d3-a456-426614174000" }