Create a claim for an order
Claims
Create a claim for an order
Requires claims:create permission. Creates a new claim linked to the specified order.
Side effect: If a pane ID is provided and that pane is currently in a station (not yet completed), the pane is pulled from the station system — its currentStation is set to null and currentStatus to claimed, and the order’s stationBreakdown is decremented accordingly. The order’s paneCount is also decremented and progressPercent is recalculated so that progress tracking remains accurate after the pane is removed. Real-time events are emitted so the frontend removes the pane from station views.
POST
Create a claim for an order
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Order ID
Body
application/json
Available options:
customer, worker Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Available options:
broken, chipped, dimension_wrong, scratch, stain, other Station ObjectId where defect was found
Available options:
pending, approved, rejected Available options:
destroy, keep Minimum string length:
1Minimum string length:
1