Documentation Index
Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt
Use this file to discover all available pages before exploring further.
Pickup Point Options
pickup_point_options functions return a list of carrier-operated
parcel lockers and partner pickup points (DHL Packstation, UPS Access
Point, InPost Paczkomat, La Poste Pickup, etc.) that the customer can
choose as a delivery destination.
Use it when:
- You integrate with a carrier API that exposes nearby drop-off lockers.
- You want to offer cheaper “last mile” parcel delivery without home signature.
- Some markets (PL, FR, DE, NL) where parcel-locker delivery is the norm.
local_pickup_options instead.
Manifest is honored; runtime dispatch is reserved. You may declare
pickup_point_options in your app.json and ship a .wasm today —
LaunchMyStore stores it, lints it, and surfaces it in the developer
portal. Wiring into the React checkout shipping step lands in the
delivery-options release; until then, returned options are not yet
shown to customers. Build now for forward-compat — your function will
start firing once the consumer is enabled.Manifest
pickup_point_options apps.
WASM execution timeout: 2000ms (configurable via
WASM_TIMEOUT_PICKUP_POINT_OPTIONS). The default is higher than
local_pickup_options because these functions typically call out to a
carrier API — see Network access.
Input
Output
pickupOptions: [] if the carrier returned no points in range —
the customer will fall back to regular shipping zones.
Example — DHL Packstation lookup
Caching carrier lookups
Carrier point APIs are usually slow (300-800ms) and rate-limited. Two strategies:- Cache inside your app server — proxy the carrier through your own
HTTPS endpoint and cache aggressively keyed by
countryCode+postalCode. Thenallowed_hosts: ["<your-domain>"]in the manifest. - Trim the input with
inputFieldsso the same input → same output, letting LaunchMyStore’s per-cart output cache do the work.
Persistence
Selected pickup point is stored on the order atadditionalFields.pickupPointOption:
See also
- Local Pickup Options — merchant- owned in-store / curbside pickup.
- Shipping Rate — custom shipping rates.
- Network access — calling carrier APIs from inside a function.