Fixed orders html path
Included state object when API call is made for a customer