Parcel booking Sandbox
Menu
Powered byParcel2Go
Sandbox: test orders only. Nothing is shipped and payments are fake. Go to the live service.

Search drop shops

Find shops or lockers near a postcode or town for a service's network: where the sender drops off (purpose dropoff) or where the receiver collects (purpose delivery). Returns the shop id to book with. Nearest first, within 20 km.

Read-only

MCP tool
search_drop_shops
REST
GET /v1/drop-shops
Behaviour
read-only · idempotent · live upstream call

Request

Search drop shops: request fields
FieldTypeNotes
provider requiredstringNetwork: get_quotes dropOffProvider or get_booking_requirements shops.*.provider
countrystringCountry the shop is in, e.g. GB or GB-NIR Default: "GB".
fromstringShipment's sending country, if not the shop's country (receiver's shop abroad)
near requiredstringPostcode or town
purpose required"dropoff" | "delivery"dropoff: sender hands the parcel in; delivery: receiver collects
printInStorebooleanOnly shops that can print the label Default: false.
limitintegerDefault: 5. Min 1. Max 20.

Examples

curl "https://p2g-mcp-sandbox.dotnethelp.workers.dev/v1/drop-shops?provider=INPOST&near=M1+1AE&purpose=dropoff"

As an MCP tool call over POST /mcp:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_drop_shops",
    "arguments": {
      "provider": "INPOST",
      "near": "M1 1AE",
      "purpose": "dropoff"
    }
  }
}

Response

Search drop shops: response fields
FieldTypeNotes
shops requiredobject[]
shops[].id requiredstringUse as from.shopId (drop-off) or to.shopId (delivery)
shops[].name requiredstring
shops[].address requiredstring
shops[].distanceKm requirednumber
shops[].lockerbooleanA self-service locker: size limits apply, the receiver needs a mobile
shops[].printInStorebooleanCan print the label
shops[].hoursstringOpening hours; days not listed are closed
totalFound requiredinteger
notesstring[]

Errors

Errors are problem JSON. Each issue names the field to fix and how to fix it. See every error code and its fix.