The endoscopy is to rule out ulcers, they can mimic gallstone pain etc. I had that done the day before my surgery, The surgery itself is short. They put you under anesthesia first, when u wake up u will feel really really sore but by the next day its not so bad, u may or may not get pains in your shoulders etc wich is the air traveling up into them from the stuff they pump to inflate yer belly for the surgery but they can give u a med to help that as well. 2 weeks post surgery i felt practically back to normal, the spots they cut open were/are a little tender but thats nothing. 6 weeks is complete recovery to resume normal activities, i jumped the gun and was rearranging my living room 2 weeks after surgery lol. Not smart.
Are there certain foods that trigger the pain or is it just constant? Do u have stones? Thickened wall of the gallbladder? Hopefully it all goes well for you though

Got any questions lemme know i had my gallbladder removed april 5th this yr.