Get Cancel Reasons
Orders
Get Cancel Reasons
Retrieve list of order cancellation reasons
GET
Get Cancel Reasons
Overview
Returns the list of available cancellation reasons that can be used when canceling orders.Headers
Your API access token
Response
true if successfulArray of cancellation reason objects
Examples
Success Response (200)
Error Response (401)
Cancel Reasons Reference
| ID | Reason (Turkish) | English Translation | When to Use |
|---|---|---|---|
| 1 | Ürün tükendi | Product out of stock | Ingredient unavailable |
| 2 | Adres bulunamıyor | Address not found | Invalid/unclear address |
| 3 | Yoğunluk nedeniyle | Due to congestion | Restaurant too busy |
| 4 | Müşteri iptal etti | Customer canceled | Customer requested |
| 5 | Teknik sorun | Technical issue | System/equipment failure |
| 6 | Çok uzak teslimat adresi | Delivery address too far | Outside service area |
| 7 | Ödeme problemi | Payment problem | Payment verification failed |
| 8 | Diğer | Other | Any other reason |
Use Cases
Build Cancellation UI
Build Cancellation UI
Display reasons in dropdown menu for staff.
Initialize POS
Initialize POS
Cache reasons when POS starts.
Validate Reason ID
Validate Reason ID
Ensure valid reason before canceling.
Reason Lookup
Reason Lookup
Get reason text by ID.
Integration Example
Caching Strategy
Cancel reasons rarely change. Cache them locally to improve performance.
Best Practices
- Always Fetch First
- Cache Locally
- Validate Before Cancel
Related Endpoints
Cancel Order
Use these reasons to cancel orders
Get Variables
Another variables endpoint