Good morning, @HigorDev!
So… There’s no way to prioritize stock and dock based on order location. The platform uses the following default rules:
Stock Priority:

Documentation: É possível definir prioridade de estoque em minha loja?
Dock selection:

In terms of logistics combination, the article below mentions that the following criteria are considered when calculating priority, in this order:
- Fewest number of shipments.
- Lowest shipping price, already accounting for applicable surcharges and promotions.
- Shortest delivery time, adding up the total cost time from the warehouse to the carrier plus overhead.
- The priority set on the dock, where the one with the highest value wins.
Beyond prioritization, there are other factors considered when choosing a stock location:
- Highest available quantity of the SKU.
- Shortest route time between stock and dock.
- Lowest route cost between stock and dock.
Documentation: How shipping calculation works
You can, in a way, “force” a stock location to have a better chance of being selected. For example: within your stock locations, set different processing times for the same dock, so as to give a “advantage” to the stock you want to prioritize. If all other conditions (cost times, dock priority, etc.) are equal, but one stock location has a shorter processing time than another, it will be prioritized.
Karina Mota
Field Software Engineer | VTEX