Finish Shipment Processing
POST/v1/api/quality/inspection/shipment/finished
Marks shipment processing as finished, stopping active capture at the station.
Either shipment_id must be provided, or area_name (or area_id) alone — when only
the area is given and no shipment_id/area_id is supplied, the most recently started
in_progress shipment on that area/station is resolved automatically.
Before stopping, any unresolved shortages (line items still below their expected
quantity) block the request by default so the operator can physically add the missing
item(s) while capture is still active. Pass bypass_shortages: true to skip this check
and finish anyway.
Auth Required
Required Permissions:
quality.inspection.shipment:execute("Quality Inspection Shipment Execute")
Request
Responses
- 200
- 400
- 401
- 403
- 500
Shipment processing finished successfully, or blocked by an unresolved shortage
Bad Request. The request was invalid or cannot be otherwise served.
Unauthorized. User is not authenticated or session is invalid.
Forbidden. User does not have the required permissions.
Internal Server Error