Back

Error Code Reference

HTTP Status Codes

CodeDescription
200Success
400Bad request parameters
401Login or internal secret required
403Insufficient permissions
404Resource not found
500Internal server error

Common Error Messages

MessageDescription
Product not foundProduct does not exist or is inactive
Insufficient stockNot enough available stock
Insufficient balanceUser balance is not enough
Minimum quantity is ...Quantity is below the minimum order amount
Quantity cannot exceed 200Quantity is above the maximum order amount
Please provide both order number and emailOrder lookup requires both order number and email

Error Response Format

json
{
  "success": false,
  "error": "Product not found"
}