Retrieve an unassigned stop
The playground uses your live account
Retrieve an unassigned stop
BasicAuthAuthorizationBasic <token>Use the API key as the username and leave the password empty.
unassignedStopId*stringThe unassigned stop id
^[a-zA-Z0-9---_]{1,50}$The requested unassigned stop
application/json- response
The requested unassigned stop
id*stringThe id of the unassigned stop, in the format unassignedStops/<id>.
^unassignedStops\/[a-zA-Z0-9---_]{1,50}$depot*stringThe depot that this unassigned stop belongs to.
^depots\/[a-zA-Z0-9---_]{1,50}$address*The address of the stop.
barcodes*array<string>List of Barcode IDs associated with the stop.
allowedDrivers*array<>The driver IDs that can be assigned to this stop.
notes*|Notes for the stop.
packageCount*|The number of packages.
weight*|nullorderInfo*The order information of the stop.
recipient*The recipient of the stop.
activity?string"delivery""delivery""pickup"trackingLink*|The recipient tracking link.
timing*The timing data of the stop.
optimizationOrder?string"default""first""last""default"paymentOnDelivery*|nullproofOfAttemptRequirements*The proof of attempt requirements of the stop.
customProperties*|Custom properties of the stop, can be used to store additional information.
clientId*|The associated Client ID of the Spoke Connect
curl -X GET 'https://api.spoke.com/public/v1/unassignedStops/string'{ "id": "string", "depot": "string", "address": { "address": "string", "addressLineOne": "string", "addressLineTwo": "string", "latitude": -90, "longitude": -180, "placeId": null, "placeTypes": [ "string" ] }, "barcodes": [ "string" ], "allowedDrivers": [ "string" ], "notes": null, "packageCount": null, "weight": { "amount": 0, "unit": "kilogram" }, "orderInfo": { "products": [ "string" ], "invoiceNumber": null, "sellerName": null, "sellerOrderId": null, "sellerWebsite": null }, "recipient": { "name": null, "email": null, "phone": null, "externalId": null }, "activity": "delivery", "trackingLink": null, "timing": { "timeWindows": [ { "earliestAttemptTime": { "hour": 0, "minute": 0 }, "latestAttemptTime": { "hour": 0, "minute": 0 } } ], "estimatedAttemptDuration": null, "earliestAttemptTime": { "hour": 0, "minute": 0 }, "latestAttemptTime": { "hour": 0, "minute": 0 } }, "optimizationOrder": "first", "paymentOnDelivery": { "amount": 0, "currency": "string" }, "proofOfAttemptRequirements": { "enabled": null }, "customProperties": { "property1": "string", "property2": "string" }, "clientId": null}