The solution was not to define the "data" in request.define and adding or not the age attribute to the invocation.
var input = null;
if(myAge != null){
input.age = myAge
}
amplify.request("usersService",input);
amplify.request.define( "usersService", "ajax", {
url: "/users",
type: "GET",
});
input is merged in the body, so if is empty, nothing is sent.