• Service functionality to add a new order given its information:

    Parameters

    Returns Promise<ServiceResponse<Order>>

    a Promise of ServiceResponse. If the customerEmail is not valid the message is ERROR_WRONG_PARAMETERS. Otherwise it contains the new Order data and an OK message.