Create API for creating an offer.