List unassigned stops
GET
The playground uses your live account
Requests are sent with your real API key, so creating, updating or deleting here changes your production data.
BasicAuthheader
AuthorizationBasic <token>Use the API key as the username and leave the password empty.
pageToken?stringThe page token to continue from.
Length
1 <= length <= 255maxPageSize?numberThe maximum number of unassigned stops to return per page.
Range
1 <= value <= 20Default
20filter?The filter to apply to the list of unassigned stops.
Success
application/json- response
Success
unassignedStops*array<>The unassignedStops.
nextPageToken*|The next page token.
curl -X GET 'https://api.spoke.com/public/v1/unassignedStops'Example Response
{ "unassignedStops": [ { "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 } ], "nextPageToken": null}