create rest for customer