Create new support incident/ticket
POST/company/issues/
Create a new ticket with the ability to attach files.
Allows up to 6 file attachments (see implementation in routes.js).
Use cases:
- Report issues with deliveries, auctions, or other services
- Request technical support
- Notify incidents in logistics operations
Related logic: ctrl.create() in routes.js with multerS3 middleware
Request
Responses
- 200
- 400
- 401
Incident created successfully. Returns the details of the newly created incident.
Invalid data. Possible causes:
- Missing required fields (service_code, message)
- Message too short/long
- Too many attachments (>6)
- File type/size not allowed
Unauthorized. The JWT token is invalid or has expired. Include a valid token in the Authorization header.