Moving out the status codes to the shipwire_endpoint class