This endpoint allows you to create detailed issue reports for orders when problems occur. Issues can range from missing items and wrong products to delivery problems and customer complaints. Each issue is tracked with priority levels, attachments, and resolution workflows.
Issue tracking helps maintain service quality, resolve customer problems efficiently, and identify patterns that can improve operations.
{ "storeId": "449235c1-3d04-4519-998b-40d2a621e5e0", "reportedBy": "b1e46bf5-0e29-4c7e-8ca1-0d7407c67169", "issue": { "order_item_id": "d2fe3e81-fb54-4d90-9c45-b0f3ed9ed1f1", "issue_type": "wrong_items", "description": "I ordered the DARK chocolate Muddy Bites and the 10oz bag of Peach Rings, but received milk chocolate and gummy bears instead", "priority": "medium", "attachments": [ "https://lula-inventory-service-staging.s3.amazonaws.com/images/dad46dc1-6d6f-4a8f-9602-29f2f5c1231d/Candy/29b4ef50-eeb3-40cb-a04f-112e187fd06a_1732713277583.webp" ], "customer_contacted": true, "expected_resolution_time": "2024-01-15T18:00:00Z" }}
high: Serious issues that significantly impact customer satisfaction
critical: Urgent issues requiring immediate attention (safety, major losses)
Automatic Assignment: Issues are automatically assigned to appropriate teams based on issue type and priority. High and critical priority issues trigger immediate notifications.
Evidence Collection: Always include attachments when possible. Photos and documentation help resolve issues faster and provide valuable feedback for process improvement.
{ "success": false, "message": "One or more attachment URLs are invalid", "error_code": "INVALID_ATTACHMENT", "invalid_urls": ["invalid-url-here"]}
Critical Issues: For critical priority issues involving safety or major financial impact, consider following up with immediate phone or direct communication in addition to creating the issue record.