What is the proper syntax to read the response?

I have tried all to no avail:

lodash._.each (event.response.content.resource, function( record ) {
    storeId == 101 ;
    return false;
});
lodash._.each (event.response.content, function( record ) {
    storeId == 102 ;
    return false;
});
lodash._.each (event.response.record, function( record ) {
    storeId == 103 ;
    return false;
});
lodash._.each (event.response.resource, function( record ) {
    storeId == 1034;
    return false;
});
lodash._.each (event.response.content.record, function( record ) {
    storeId == 103 ;
    return false;
});

For future reference;

lodash._.each (event.response.content, function( record ) {
}

is the correct way.

1 Like

Thanks for posting the correct way @jimijon!