API ReferenceProduction orders
Log a scrap event while the order is running
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
factoryId*string
Factory ID
id*string
Production Order ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://api.xentr.ai/api/factories/string/production-orders/string/scrap-event" \ -H "Content-Type: application/json" \ -d '{ "quantity": 25, "reason": "tool_wear" }'Empty