cancel:orders
{ "reason": "Customer no longer wants to purchase" }
curl --location --request POST 'https://v3.mangoteeprints.com/api/public/v1/orders//cancel' \ --header 'X-API-Key;' \ --header 'Content-Type: application/json' \ --data-raw '{ "reason": "Customer no longer wants to purchase" }'
{ "code": "ORDER_CANCELLED", "data": { "cancellation_reason": "Customer request", "cancelled_at": "2025-08-20T18:00:00.000000", "order_id": "ORD005", "refund_amount": 17.68, "refund_status": "pending", "status": "cancelled" }, "message": "Order cancelled successfully", "request_id": "880gb700-b5ae-74g7-d049-779988773333", "status": true, "timestamp": "2025-08-20T18:00:00.000000" }