This structure is generally used when we talk about professional services provided for a customer. It means that we are not doing something ourselves but arranging for someone to do it for us:
I had my hair cut this morning. (A hairdresser cut my hair.)
I'm going to have my apartment painted. (I'm going to ask someone to paint my apartment.)