Updated api success logic
Merge branch '1.2/develop' of https://github.com/firesale/firesale into 1.2/develop