Search pickup points
Lists the pickup points of the carrier behind a shipping option, nearest first, not paginated. Send the `shippingOptionId` of an option the buyer can pick, a `countryCode`, and either a `postalCode` or a `latitude` with a `longitude`. Send the chosen point's `id` as `pickupPointId` on the cart. Errors: 422 `SHIPPING_OPTION_INVALID` for an unknown or inactive option, 422 `SHIPPING_OPTION_NO_PICKUP_POINTS` for an option that does not deliver to a pickup point, 503 `PICKUP_POINT_SEARCH_UNAVAILABLE` when the carrier cannot answer (the buyer can pick another option), 404 when shipping is not enabled on the site, and 422 for an invalid query. > **Note:** Available only on sites with e-commerce enabled.
/pickup-pointshttps://api.lynkow.com/storefront/{siteId}Query parameters
countryCodestringrequiredCountry to search in (ISO 3166-1 alpha-2).
shippingOptionIdstringrequiredShipping option to search for (prefixed `shp_`), as the shipping options read returns it.
latitudenumberLatitude to search near, sent with `longitude`.
limitintegerMaximum number of points to return.
longitudenumberLongitude to search near, sent with `latitude`.
postalCodestringPostal code to search near. Send it, or `latitude` with `longitude`.