What did Hermes invent according to Greek mythology which he traded with Apollo for cattle?

What did Hermes invent according to Greek mythology which he traded with Apollo for cattle?