Plan Pickup
plan_pickupPlan where to pick up a toom.de basket: get all available articles at the primary market, then use fallback markets only for small items that fit your car.
Instructions
Plan where to pick up a list of articles (or the current basket): primary market first, fallbacks second.
Priority: 1) everything the primary market has is picked up there. 2) Only what the primary market does not have comes from a fallback market, and only if it is small enough to transport without the special vehicle at the primary market. Pass such articles that do NOT fit (doors, long boards, ...) as bulky_skus: they are never taken from a fallback market. Decide that from the article's size in its title/description. Fallbacks are picked for as few stops as possible. Uses real stock per market.
all_at_primary_market in the result is true when one stop at the primary market covers everything,
i.e. no trip to a fallback market and no own transport are needed. With apply=True the planned pickups
are built as (replaced) baskets in each stop's market, ready to be reserved on toom.de.
Defaults: the primary market is the selected one (set_market / T00MY_DEFAULT_MARKET) and the fallbacks are T00MY_HOME_MARKETS without it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| items | No | ||
| bulky_skus | No | ||
| from_market | No | ||
| primary_market | No | ||
| fallback_markets | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||