history to lowercase, province look up in api.
Merge branch 'discounts-and-expirations'