If you just want to extract certain parts out of that URL, then you can look at using Wix Location API and the query function.
https://www.wix.com/corvid/reference/wix-location.html#query
Have a read of this previous forum post.
https://www.wix.com/corvid/forum/community-discussion/get-dynamic-page-id-into-data-table
Or you can look at using an Event through Wix Stores Backend or the Thank You Page. to get all the order or certain items from it.
https://www.wix.com/corvid/reference/wix-stores-backend.Events.html
https://www.wix.com/corvid/reference/$w.ThankYouPage.html