Connect API

List pickup locations

GET
/pickupLocations

The playground uses your live account

Requests are sent with your real API key, so creating, updating or deleting here changes your production data.

List the authenticated retailer's pickup locations.

Authorization

headerAuthorizationBearer <token>

Pass the API key directly as the token.

Query Parameters

pageToken?string

The page token to continue from.

Length1 <= length <= 255
maxPageSize?integer

The maximum number of pickup locations to return.

Range1 <= value <= 100
Default100

Response Body

The retailer's pickup locations.

application/json
  1. response

The retailer's pickup locations.

pickupLocations*array<>

The retailer's pickup locations.

nextPageToken*|

The token for the next page, or null when there are no more pickup locations.

Example Request
curl -X GET 'https://api.spoke.com/connect/v1/pickupLocations'
Example Response
{  "pickupLocations": [    {      "id": "string",      "name": "string"    }  ],  "nextPageToken": null}

Was this page helpful?