convert to a bigcommerce api client