to curry favor with or flatter someone in order to obtain something from them.
Examples:
- I tried to butter up the boss but in the end, he refused to give me a day off.
- Don’t try to butter me up. No matter what you say, you can’t leave the office early today.