error codes in rest api in json code example
Example: api error codes
General (unknown) error. = 500
Customer account not found (possible bad subdomain = 401
Customer account inactive = 401
Customer account suspended = 503
Customer account banned = 418
Paid customer account inactive due to non-payment = 402
User not found = 401
User not active = 401
Invalid auth (bad username/password) = 401
Permissions error. = 403
Maximum number of daily API requests exceeded = 400