Przejdź do głównej zawartości

Interface: UsePickupPointSearchOptions

Properties

codOnly?

optional codOnly?: boolean

Return only points that accept cash on delivery. Use it for a cash-on-delivery cart.


debounceMs?

optional debounceMs?: number

Wait this long after the last change before asking the API. Default 300 ms.


enabled?

optional enabled?: boolean

Set to false to hold off searching.


filters

filters: PickupPointFilters

What the buyer is searching by. Debounced internally — pass it on every keystroke.


limit?

optional limit?: number

Cap on returned points. The API clamps unreasonable values.


provider

provider: string

Carrier code from pickupConfig.provider.