curl --location --request POST 'https://api.stateset.com/v1/returns/:id/inspect' \ --header 'Content-Type: application/json' \ --header 'Authorization: Token <token>' \ --data-raw '{ "id": "rt_1NXWPnCo6bFb1KQto6C8OWvE", "inspection_type": "physical", "condition_assessment": "good", "inspector_notes": "Minor wear on packaging, product unused", "defects_found": ["packaging_damage"], "resellable": true, "restocking_fee": 15.00 }'
{ "id": "rt_1NXWPnCo6bFb1KQto6C8OWvE", "object": "return", "inspected": true, "inspection_id": "insp_ret_123", "inspection_date": "2024-01-15T10:45:00Z", "condition_assessment": "good", "resellable": true, "restocking_fee": 15.00, "defects_found": ["packaging_damage"], "recommended_action": "restock" }
This endpoint records inspection details for a returned item.