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.

Required access
Send
  • Publishable keyX-Lynkow-Pk
Site access
GET/pickup-points
Base URLhttps://api.lynkow.com/storefront/{siteId}

Query parameters

countryCode
string
required

Country to search in (ISO 3166-1 alpha-2).

shippingOptionId
string
required

Shipping option to search for (prefixed `shp_`), as the shipping options read returns it.

latitude
number

Latitude to search near, sent with `longitude`.

Max: 90

Min: -90

limit
integer

Maximum number of points to return.

Default: 10

Max: 30

Min: 1

longitude
number

Longitude to search near, sent with `latitude`.

Max: 180

Min: -180

postalCode
string

Postal code to search near. Send it, or `latitude` with `longitude`.

Feedback

Was this page helpful?