Connect API

Retrieve a courier

GET
/couriers/{id}

The playground uses your live account

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

Retrieve a single courier connected to the authenticated retailer.

Authorization

headerAuthorizationBearer <token>

Pass the API key directly as the token.

Path Parameters

id*string

The courier id.

Match^[a-zA-Z0-9_-]{1,50}$

Response Body

The requested courier.

application/json
  1. response

The requested courier.

id*string

Courier identifier.

Match^couriers\/[a-zA-Z0-9_-]{1,50}$
name*string

The courier's display name.

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

Was this page helpful?