refactored offers api service spec